From: Jeff King Date: Tue, 06 Sep 2016 07:12:55 GMT Subject: Re: [PATCH 0/3] Fix a segfault caused by regexec() being called on mmap()ed data Message-ID: <20160906071255.ggsoj2lh2f3kubhj@sigill.intra.peff.net> In-Reply-To: On Mon, Sep 05, 2016 at 12:10:11PM -0700, Junio C Hamano wrote: > * We could use variant of regexp engine as you proposed, > which I think is a preferrable solution. Do people know of a > widely accepted implementation that we can throw into compat/ as > fallback that is compatible with GPLv2? Maybe the one already in compat/regex? ;P I think re_search() the correct replacement function but it's been a while since I've looked into it. -Peff