From: Uriel <uriel99@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] sed crash
Date: Thu, 5 Feb 2009 03:28:14 +0100 [thread overview]
Message-ID: <5d375e920902041828p173f0f3etdd5fabd3a65bc330@mail.gmail.com> (raw)
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
next reply other threads:[~2009-02-05 2:28 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-05 2:28 Uriel [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5d375e920902041828p173f0f3etdd5fabd3a65bc330@mail.gmail.com \
--to=uriel99@gmail.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).