https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99193
David Malcolm <dmalcolm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #9 from David Malcolm <dmalcolm at gcc dot gnu.org> --- The false positive should be fixed by the above commit. As noted above, this is just a workaround, and PR analyzer/99260 tracks "properly" implementing realloc(3). Marking this bug as resolved.