From reddaly at gmail.com Fri Aug 13 17:42:26 2010 From: reddaly at gmail.com (Red Daly) Date: Fri, 13 Aug 2010 10:42:26 -0700 Subject: [cl-ppcre-devel] bugfix: search used bad :start2 and :end2 in scanner creation Message-ID: A heavily compiled form of (ppcre:scan "foobar' "quux") was giving sequence bounds errors. I tracked it down to a call to SEARCH, which PPCRE passed start2 > end2 arguments. Patch included. - Red -------------- next part -------------- A non-text attachment was scrubbed... Name: ppcre-search-bugfix.patch Type: text/x-patch Size: 2308 bytes Desc: not available URL: From edi at agharta.de Fri Aug 13 21:53:06 2010 From: edi at agharta.de (Edi Weitz) Date: Fri, 13 Aug 2010 23:53:06 +0200 Subject: [cl-ppcre-devel] bugfix: search used bad :start2 and :end2 in scanner creation In-Reply-To: References: Message-ID: Hi Red, Thanks for the patch. Can you provide a test case to reproduce the sequence bound error? I suspect that the bug is actually somewhere else - although I'm not sure. Cheers, Edi. On Fri, Aug 13, 2010 at 7:42 PM, Red Daly wrote: > A heavily compiled form of (ppcre:scan "foobar' "quux") was giving > sequence bounds errors. ?I tracked it down to a call to SEARCH, which > PPCRE passed start2 > end2 arguments. > > Patch included. > > - Red > > _______________________________________________ > cl-ppcre-devel site list > cl-ppcre-devel at common-lisp.net > http://common-lisp.net/mailman/listinfo/cl-ppcre-devel >