On Thu, Jun 08, 2017 at 09:59:39AM -0400, Chet Ramey wrote:
[...]
> Even though glibc allocates the memory for the current locale, the man page
> warns not to assume that:
> 
> "A successful call to setlocale() returns an opaque string  that  corre-
> sponds to the locale set.  This string may be allocated in static storage."

Yes. I saw the warning in the manual page.

After a closer reading, I think the Address Sanitizer is complaining
about bash's local copy (the one created with `savestring`) not being
released.

It's not a real issue, but it makes running the tests with ASAN a bit
less useful.

-- 
Eduardo Bustamante
https://dualbus.me/

Reply via email to