[PATCH] Fix regex memory handling

Ulrich Drepper drepper@redhat.com
Wed Nov 19 19:29:00 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jakub Jelinek wrote:

> regcomp.c had a lot of places where it could either leak memory or
> double free.  This patch tries to fix this.  In addition to this
> it reduces (in my build) regex.os's .text section by 3.3KB (from 71KB)
> and reduces number of malloc/free/realloc calls in tst-rxspencer
> (wc -l tst-rxspencer.mtrace) from 98080 to 83305.

Applied.  Thanks,

- -- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/u8Jq2ijCOnn/RHQRAvkSAKCTdVysmVpEIuesK1Cy9aSAxvh/XgCgoka0
YaXlWzkpbdqYl2xii+TGd58=
=QcNA
-----END PGP SIGNATURE-----



More information about the Libc-hacker mailing list