This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug regex/17069] leak in regcomp
- From: "konstantin.s.serebryany at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 20 Jun 2014 04:08:38 +0000
- Subject: [Bug regex/17069] leak in regcomp
- Auto-submitted: auto-generated
- References: <bug-17069-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17069
--- Comment #3 from Kostya Serebryany <konstantin.s.serebryany at gmail dot com> ---
Created attachment 7651
--> https://sourceware.org/bugzilla/attachment.cgi?id=7651&action=edit
larger pattern
The leak on original reproducer is gone,
however on a larger pattern (attached) a very similar looking
leak is still present:
Direct leak of 192 byte(s) in 6 object(s) allocated from:
#0 0x494a39 in calloc
/home/kcc/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:95
#1 0x7f3f2ed1c14b in parse_bracket_exp glibc-trunk/posix/regcomp.c:3052
#2 0x7f3f2ed1c14b in parse_expression glibc-trunk/posix/regcomp.c:2265
#3 0x7f3f2ed1d48f in parse_branch glibc-trunk/posix/regcomp.c:2193
#4 0x7f3f2ed1d57d in parse_reg_exp glibc-trunk/posix/regcomp.c:2145
#5 0x7f3f2ed1d9c8 in parse glibc-trunk/posix/regcomp.c:2114
#6 0x7f3f2ed1d9c8 in re_compile_internal glibc-trunk/posix/regcomp.c:794
#7 0x7f3f2ed1ec10 in __regcomp glibc-trunk/posix/regcomp.c:501
#8 0x4b3338 in main (/home/kcc/tmp/a.out+0x4b3338)
--
You are receiving this mail because:
You are on the CC list for the bug.