[cl-ppcre-devel] bugfix: search used bad :start2 and :end2 in scanner creation

2 views
Skip to first unread message

Red Daly

unread,
Aug 13, 2010, 1:42:26 PM8/13/10
to cl-ppcr...@common-lisp.net
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

ppcre-search-bugfix.patch

Edi Weitz

unread,
Aug 13, 2010, 5:53:06 PM8/13/10
to General interest list about cl-ppcre and cl-unicode
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.

> _______________________________________________
> cl-ppcre-devel site list
> cl-ppcr...@common-lisp.net
> http://common-lisp.net/mailman/listinfo/cl-ppcre-devel
>

_______________________________________________
cl-ppcre-devel site list
cl-ppcr...@common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-ppcre-devel

Reply all
Reply to author
Forward
0 new messages