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

Objective-C : Incorrect malloc usage

Classification

OWASP Mobile Top 10 2016

Overview

Allocated memory of zero size is used. This may lead to incorrect behavior or crash of the application.

The application uses malloc function, which allocates a block of memory with the specified argument size and returns a pointer to the beginning of a block. If the size is equal to zero, it is possible undefined behavior of the application.

MEDIUM

DerScanner Severity Score

Do you want to fix Objective-C : Incorrect malloc 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