9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] sed crash
@ 2009-02-05  2:28 Uriel
  2009-02-05  2:59 ` Pietro Gagliardi
  2009-02-05  4:15 ` Russ Cox
  0 siblings, 2 replies; 22+ messages in thread
From: Uriel @ 2009-02-05  2:28 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

For those that enjoy fixing bugs:

% echo foo | sed
's/..a|..b|..c|..d|..e|..f|..g|..h|..i|..j|..k|..l|..m|..n|..o|..p//g'

Will crash both native and p9p sed.

Yes, I know it is a nonsensical expression, but it is the simplest one
that still made it crash, I have lost the original version which was
much more complex.

Note that providing two characters as input will still crash, but if
the input line is a single character it wont crash.

I have been meaning to get all the fun of tracking this one down
myself for a while, but seems that I never get to it, so I will let
others enjoy the fun of fixing it.

Peace

uriel



^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2009-02-07  0:21 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-05  2:28 [9fans] sed crash Uriel
2009-02-05  2:59 ` Pietro Gagliardi
2009-02-05  3:08   ` Pietro Gagliardi
2009-02-05  3:45     ` Pietro Gagliardi
2009-02-05  3:51       ` Akshat Kumar
2009-02-05  3:58         ` andrey mirtchovski
2009-02-05  4:39           ` Pietro Gagliardi
2009-02-05 11:14             ` Iruata Souza
2009-02-05 13:16             ` erik quanstrom
2009-02-05 14:31               ` Joel C. Salomon
2009-02-05 14:44                 ` erik quanstrom
2009-02-05 21:02               ` Pietro Gagliardi
2009-02-05 21:13                 ` erik quanstrom
2009-02-07  0:21                   ` Derek Fawcus
2009-02-05 21:21                 ` john
2009-02-05 23:02             ` Akshat Kumar
2009-02-05 23:11               ` hiro
2009-02-05 23:18                 ` Akshat Kumar
2009-02-05  4:15 ` Russ Cox
2009-02-05 14:41   ` Uriel
2009-02-05 17:27     ` Russ Cox
2009-02-05 22:56       ` Uriel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).