[Bug analyzer/115436] False positive with -Wanalyzer-malloc-leak
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115436 --- Comment #2 from Branimir Ričko --- ``` I think there *might* be a true positive here for the case where s->cap == 0x8000, so that s->cap * 2 becomes 0 due to overflow; should my_str_realloc be checking for s->str being null for the "need
[Bug analyzer/115436] False positive with -Wanalyzer-malloc-leak
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115436 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|