Orphaned submission from #21546.
Abhijit Menon-Sen [Wed, 5 Nov 2003 18:34:28 +0000 (18:34 +0000)]
p4raw-id: //depot/perl@21664

perl.c

diff --git a/perl.c b/perl.c
index 4157df9..897cd72 100644 (file)
--- a/perl.c
+++ b/perl.c
@@ -1047,7 +1047,7 @@ setuid perl scripts securely.\n");
                   }
              }
         }
-        PL_origalen = s - PL_origargv[0];
+        PL_origalen = s - PL_origargv[0] + 1;
     }
 
     if (PL_do_undump) {