patch applied (packages/regex-posix): Fix #1015: Don't free the
buffers of regexes who's compile fails.
Ben Lippmeier
ben.lippmeier at anu.edu.au
Mon Apr 6 01:43:57 EDT 2009
Sun Apr 5 22:35:13 PDT 2009 Ben.Lippmeier at anu.edu.au
* Fix #1015: Don't free the buffers of regexes who's compile fails.
The SunOS 5.10 man page says that if regcomp fails then the regex
buffer becomes "undefined". Trying to free it causes a segv under
x86 and SPARC.
M ./Text/Regex/Posix/Wrap.hsc -2 +10
View patch online:
http://darcs.haskell.org/packages/regex-posix/_darcs/patches/20090406053513-43c66-160b5efd5ef4fc8304806f31ffbc57e8415bd2af.gz
More information about the Cvs-libraries
mailing list