Date: Tue, 19 Aug 2008 22:23:01 +0400 From: Yuri Pankov <yuri.pankov@gmail.com> To: Stanislav Sedov <stas@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: regex regression? Message-ID: <20080819182301.GA6483@darklight.homeunix.org> In-Reply-To: <20080819104923.b2274b5e.stas@FreeBSD.org> References: <20080819055055.GC1758@darklight.homeunix.org> <20080819104923.b2274b5e.stas@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 19, 2008 at 10:49:23AM +0400, Stanislav Sedov wrote: > On Tue, 19 Aug 2008 09:50:55 +0400 > Yuri Pankov <yuri.pankov@gmail.com> mentioned: > > > Hi, > > > > Looks like regcomp() doesn't detect invalid backreferences on > > -CURRENT, though it works normally on 6.3-RELEASE. > > > > simple testcase: > > > > 6.3-RELEASE: > > $ echo test | sed 's/test/\1/' > > sed: 1: "s/test/\1/": \1 not defined in the RE > > > > -CURRENT: > > $ echo test | sed 's/test/\1/' > > Segmentation fault (core dumped) > > > > 7-STABLE is also affected. Seems that regression was in r171284. > > -- > Stanislav Sedov > ST4096-RIPE Heh, I'm making wrong assumptions again. Sorry. Yuri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080819182301.GA6483>