Re: [PATCH v9] locale: memory leak in newlocale [BZ #25770]

Dmitry Kovalenko d.kovalenko@postgrespro.ru
Thu Jun 5 10:02:26 GMT 2025


 
>The first assert
>
>  assert (locale_path_ptr != NULL);
>
>is not removed for some reason. This looks like a GCC bug to me. GCC
>is generally able to determine that addresses on the stack cannot be
>null.
Even when NDEBUG is defined?
 
Dmitry Kovalenko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20250605/89d8462f/attachment.htm>


More information about the Libc-alpha mailing list