[Bug build/26779] benign use after realloc at localealias.c:329

msebor at gmail dot com sourceware-bugzilla@sourceware.org
Wed Jan 12 17:20:35 GMT 2022


https://sourceware.org/bugzilla/show_bug.cgi?id=26779

--- Comment #5 from Martin Sebor <msebor at gmail dot com> ---
The -Wunse-after-free patch was just approved for GCC 12.  I'm retesting it and
barring serious problems I plan to commit it over the weekend or early next
week.

For reference, the instances of the warning I see with the top of GCC and Glibc
trunks are:

-Wuse-after-free Instances:
  ldconfig.c:739
  localealias.c:329
  localealias.c:335
  setenv.c:162
  ../sysdeps/wordsize-64/../../io/ftw.c:330

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list