[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] regex: don't deref NULL upon heap allocation failure
From: |
Jim Meyering |
Subject: |
Re: [PATCH] regex: don't deref NULL upon heap allocation failure |
Date: |
Sat, 12 Jul 2014 17:10:24 -0700 |
On Sat, Jul 12, 2014 at 4:50 PM, Jim Meyering <address@hidden> wrote:
> 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.
FYI, I've filed the glibc bug here:
https://sourceware.org/bugzilla/show_bug.cgi?id=17150