[Phoenix-pm] perlbug-followup at perl.org: [perl #39747] crash in unpack

Brock awwaiid at thelackthereof.org
Fri Jul 7 08:36:59 PDT 2006

On 2006., Scott Walters wrote:
| ----- Forwarded message from "l.mai at web.de" <perlbug-followup at perl.org> -----
| From: "l.mai at web.de" <perlbug-followup at perl.org>
| ...
| Hello,
| $ perl -e 'unpack "(Z*)*", "a"'
| $ perl -e 'unpack "(Z*)*", "aa"'
| Segmentation fault
| $
| It looks like unpack crashes if there's more than one non-null character in
| the source string.

These super-short crash conditions are always good reminders to me that
it is very difficult to implement such a powerful language. I like to
ponder them, and even ponder their fleetingness (because where there is
a bugreport, there is eventually a bugfix) and their pervasiveness.


More information about the Phoenix-pm mailing list