[Bug locale/24677] free error in __libio_codecvt_out with e.g. UTF-8 locales

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Fri Jul 12 15:53:00 GMT 2019


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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://sourceware.org/bugz
                   |                            |illa/show_bug.cgi?id=24583

--- Comment #6 from Florian Weimer <fweimer at redhat dot com> ---
I believe this was introduced by the fix for bug 24583:

commit 7e740ab2e7be7d83b75513aa406e0b10875f7f9c
Author: Florian Weimer <fweimer@redhat.com>
Date:   Tue May 21 10:34:21 2019 +0200

    libio: Fix gconv-related memory leak [BZ #24583]

    struct gconv_fcts for the C locale is statically allocated,
    and __gconv_close_transform deallocates the steps object.
    Therefore this commit introduces __wcsmbs_close_conv to avoid
    freeing the statically allocated steps objects.

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


More information about the Glibc-bugs mailing list