[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Possible regexp bug in 5.8



On Tue, 14 Jan 2003, Jérôme Marant wrote:

>
> Hi,
>
>   Sympa, a Perl application, has a critical bug, see #165799.
>   Its upstream who run 5.6 tried to reproduce the problem
>   but failed. They told me they definitely think it is a
>   Perl 5.8 regexp bug, but cannot provide more information.
>   What should I do? Is it a known bug?

Perl 5.8 is different.  The code does things differently.  Different methods
are called.

In short, you'll need to fix the code.

In detail, install-info(from dpkg) had a similiar problem with perl 5.8.  The
reason is that it had an unbounded {*} pattern, and with certain large inputs,
would overflow the stack.  This is because in perl 5.8, more stack space is
used, so the limit was reached sooner.  It was never reached with 5.6 and this
particular input.

Check the dpkg changelog to find the bug#.



Reply to: