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 regex/5718] Uninitialised struct member in re_compile_internal causes crash in regfree


------- Additional Comments From bonzini at gnu dot org  2008-02-04 13:55 -------
Can you please pick an old copy of regex (one with the texinfo manual in it)
from ftp.gnu.org and check how translate is documented?  Given the way it works
now, I would say that it does need to malloced memory (unless you do the extra
effort to NULL the field out before calling regfree).

My personal theory is that in olden times free(3) was enough to free a GNU
regex.  Now it's not anymore and you're forced to call regfree.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5718

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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