bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] regex: don't deref NULL upon heap allocation failure


From: Jim Meyering
Subject: [PATCH] regex: don't deref NULL upon heap allocation failure
Date: Sat, 12 Jul 2014 16:50:51 -0700

I was surprised to be able to provoke a segfault in grep.
Even more surprised to see that the flaw was in regcomp.c.
Here's the patch I'll push to gnulib.
I expect the same will go to glibc soon.

Attachment: 0001-regex-don-t-deref-NULL-upon-heap-allocation-failure.patch.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]