This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/23654] New: Memory leak in gconv_cache.c


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

            Bug ID: 23654
           Summary: Memory leak in gconv_cache.c
           Product: glibc
           Version: 2.24
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: ossu at chromium dot org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Chromium's AddressSanitizer just stumbled on a memory leak in gconv_cache.c
when opening a file for reading with ccs=UTF-8:

Direct leak of 208 byte(s) in 1 object(s) allocated from:
    #0 0xb93b73 in __interceptor_malloc _asan_rtl_:3
    #1 0x7f0ca6447ea3 in __gconv_lookup_cache
/tmp/build-debs.Lfl5zt/glibc-2.24/iconv/gconv_cache.c:372
[...]

Since it's just started showing up, and the test itself hasn't been modified in
ages, it looks like it's been introduced in a recent version of glibc.

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]