...
An exception to this rule applies if the intent of the programmer was to intentionally truncate the null-terminated byte string. To be compliant with this standard, this intent must be made clear statement in comments.
Priority: P2 Level:
...
L3
Truncating strings can lead to a loss of data and exploitable vulnerabilities in some cases.
Component | Value |
---|---|
Severity | 1 (mediumlow) |
Likelihood | 1 (probableunlikely) |
Remediation cost | 2 (medium) |
...