diff options
author | Wolfgang Laun <Wolfgang.Laun@alcatel.at> | 2001-11-26 20:56:32 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-27 00:08:23 +0000 |
commit | 3bf38418777094bb685265138234ab6e04aa1d90 (patch) | |
tree | 95f4dfb7d73489209146c2dfa2b08ea748e47dc9 /pp_pack.c | |
parent | 52a55424e4624fc79eb8894fb91c5e2f4a9018ab (diff) | |
download | perl-3bf38418777094bb685265138234ab6e04aa1d90.tar.gz |
unpack P* uses random length for item
Message-ID: <200111261956320450.01E7217F@smtp.chello.at>
p4raw-id: //depot/perl@13288
Diffstat (limited to 'pp_pack.c')
-rw-r--r-- | pp_pack.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -922,6 +922,8 @@ PP(pp_unpack) } break; case 'P': + if (star) + DIE(aTHX_ "P must have an explicit size"); EXTEND(SP, 1); if (sizeof(char*) > strend - s) break; |