Home / Vulnerability Database / Objective-C : Incorrect addObject: usage
Objective-C

Objective-C : Incorrect addObject: usage

Classification

OWASP Mobile Top 10 2016

Overview

The argument of the addObject: method of the NSMutableArray class is set to nil . This may lead to incorrect behavior or crash of the application.

The addObject: method inserts a given object at the end of the array. The argument of this method must not be nil, otherwise an NSInvalid​Argument​Exception being raised.

MEDIUM

DerScanner Severity Score

Do you want to fix Objective-C : Incorrect addObject: usage in your application?

See also

Objective-C

Objective-C : Internal information leak

Objective-C

Objective-C : Weak hashing algorithm

Objective-C

Objective-C : Unsafe reflection