diff options
author | Nicholas Clark <nick@ccl4.org> | 2004-07-10 16:00:44 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2004-07-10 16:00:44 +0000 |
commit | 4b84718feb33ee8acb8b06a2f14ce51dc6b54ef1 (patch) | |
tree | 49217edb9a1bf761d600a274a75e5c0c50e72cf6 /doio.c | |
parent | 09d958178d976e95be87719a60caba288f4a79fb (diff) | |
download | perl-4b84718feb33ee8acb8b06a2f14ce51dc6b54ef1.tar.gz |
Perl_mode_from_discipline must update len. (else SEGV)
Diagnosis and patch from clkao
p4raw-id: //depot/perl@23076
Diffstat (limited to 'doio.c')
-rw-r--r-- | doio.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1172,6 +1172,7 @@ fail_discipline: #ifndef PERLIO_LAYERS Perl_croak(aTHX_ "IO layers (like '%.*s') unavailable", end-s, s); #else + len -= end-s; s = end; #endif } |