Avoid possible dereference of NULL in the initialization of PL_origalen.
authorGisle Aas <gisle@activestate.com>
Tue, 10 Jan 2006 08:58:21 +0000 (08:58 +0000)
committerGisle Aas <gisle@activestate.com>
Tue, 10 Jan 2006 08:58:21 +0000 (08:58 +0000)
commit2d2af554da24863760d055834f4984fbca7ec85b
tree99ca4a308dba0bbab27f7e2b008e3a91dcbe8fc1
parent11e2783cff6b99a1463ba0eb8e30a005fc688aaf
Avoid possible dereference of NULL in the initialization of PL_origalen.
This can only happen when perlparse is called with no argv.
Don't try to update PL_origargv unless PL_origalen is at least 2.

p4raw-id: //depot/perl@26760
mg.c
perl.c