Home / Vulnerability Database / Objective-C : Null argument of setObject:forKey:
Objective-C
Objective-C : Null argument of setObject:forKey:
Classification
OWASP Mobile Top 10 2016
Overview
The arguments of the setObject:forKey: method may not take a value of nil. Otherwise, it is impossible to distinguish between cases where the object with that key is not found in the dictionary or the object has a value of nil. In this case, it is recommended to use an instance of the special NSNull class.
MEDIUM
DerScanner Severity Score
Do you want to fix Objective-C : Null argument of setObject:forKey: in your application?
See also
Objective-C
Objective-C : Internal information leak
Objective-C
Objective-C : Weak hashing algorithm
Objective-C
