This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Fw: Bug#180914: sed: Another .* crash
- From: "Bonzini" <bonzini at gnu dot org>
- To: "Isamu Hasegawa" <isamu at yamato dot ibm dot com>,"Ulrich Drepper" <drepper at redhat dot com>,"Aharon Robbins" <arnold at skeeve dot com>
- Cc: <libc-alpha at sources dot redhat dot com>,<isamu at yamato dot ibm dot com>
- Date: Mon, 17 Feb 2003 15:39:51 +0100
- Subject: Re: Fw: Bug#180914: sed: Another .* crash
- References: <001501c2d507$19f243b0$0cdd1d97@bonz> <ubs1b0yb5.wl@AMBER.yamato.ibm.com>
> At first, I'm very sorry to trouble you by my buggy code.
No problem, it probably works better than you think.
> Then, the regex code needs some volunteers to fix the problems.
> But I know it is very hard because of comment deficiency, and
> unreadable code.
Perhaps it would suffice to make a brief description of how it works (just
how exactly backreferences are worked out, for example, or what does
"sifting" means) or to point out to an existing description of the
techniques.
Regarding the bug itself, which is indeed very rare because the \'.* regex
is completely pointless, could you only give a glance to my analysis of it
and suggest a solution among the two that I gave? The more I think of it,
the more I think that duplicate_node_closure probably makes sense as it is
now, and hence the solution would be to modify build_trtable; so this should
not take you much time and I can (although not immediately) try to work out
a fix.
Paolo