STR32-C
: Support reducing buffer size via realloc
#31
Labels
Difficulty-High
A false positive or false negative report which is expected to take 1+ week effort to address
false positive/false negative
An issue related to observed false positives or false negatives.
Impact-Medium
Phase II
user-report
Issue reported by an end user of CodeQL Coding Standards
Affected rules
STR32-C
Description
Support reducing buffer size via realloc.
Example
As taken from https://wiki.sei.cmu.edu/confluence/display/c/STR32-C.+Do+not+pass+a+non-null-terminated+character+sequence+to+a+library+function+that+expects+a+string#STR32C.Donotpassanonnullterminatedcharactersequencetoalibraryfunctionthatexpectsastring-NoncompliantCodeExample.1
The text was updated successfully, but these errors were encountered: