[TIMOB-9898] Blackberry: [Robustness] Some Functions in Ti* classes that receive Arguments as param don't validate param
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-06-18T04:15:46.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | BlackBerry |
Labels | n/a |
Reporter | Jean-Philippe Lemieux |
Assignee | Josh Roesslein |
Created | 2012-07-06T09:17:28.000+0000 |
Updated | 2017-03-09T19:40:12.000+0000 |
Description
Need to make a sweep of all functions that receive a param of type Arguments and add parameter validation.
At the very least the length of the Arguments list needs to be validated before accessing items to avoid crashes. Additionally the type of the args can be validated where appropriate.
One known such occurence is TiUITableView::_scrollToIndex
Closing ticket as fixed.