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
Check your Objective-C code for this vulnerability, free
Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.
Try it on your code, free
By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.
