Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9898] Blackberry: [Robustness] Some Functions in Ti* classes that receive Arguments as param don't validate param

GitHub Issuen/a
TypeStory
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2013-06-18T04:15:46.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsBlackBerry
Labelsn/a
ReporterJean-Philippe Lemieux
AssigneeJosh Roesslein
Created2012-07-06T09:17:28.000+0000
Updated2017-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

Comments

  1. Lee Morris 2017-03-09

    Closing ticket as fixed.

JSON Source