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

Objective-C : Incorrect C-string usage

Classification

OWASP Mobile Top 10 2016
PCI DSS 4.0
CWE/SANS Top 25 2021

Overview

C-string is used incorrectly. Examples of incorrect use: intersecting buffers when copying, going beyond the bounds of the buffer, not null-terminated string as an argument.

Objective C language is a strict superset of C; all C constructions may be used in Objective C. C language does not provide automatic protection against memory errors. Therefore, you must ensure that all C constructions are used correctly when using C API.

MEDIUM

DerScanner Severity Score

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