This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Accessing array before its start is dubious.
authorJarkko Hietaniemi <jhi@iki.fi>
Wed, 7 May 2014 16:04:37 +0000 (12:04 -0400)
committerSteffen Mueller <smueller@cpan.org>
Wed, 28 May 2014 10:34:05 +0000 (12:34 +0200)
commit626040f738fa96d23319f0d350f80eed39bdee15
treee4b3c103a931af8dc2abfc15df74d980d0cb6c03
parentb7249aafbb0d9cb946690d715169cf26e3066ccb
Accessing array before its start is dubious.

Fix by petermartini.

Fix for Coverity perl5 CID 28909:
Out-of-bounds access (ARRAY_VS_SINGLETON)
ptr_arith: Using &unsliced_keysv as an array.
This might corrupt or misinterpret adjacent memory locations.
pp.c