This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
duplicate full index for SAVEt_AELEM
authorZefram <zefram@fysh.org>
Mon, 13 Nov 2017 07:45:35 +0000 (07:45 +0000)
committerZefram <zefram@fysh.org>
Mon, 13 Nov 2017 07:45:35 +0000 (07:45 +0000)
commite8b20b1238fb2bfcdc6d131e979cbd6c1dbd4b71
tree7cd5cdabfa8ddfdb0872efd42c3377d1c2c83856
parentf63f40368cca0cfffd2773a6206d1ab3235b61b3
duplicate full index for SAVEt_AELEM

The index in a SAVEt_AELEM save entry is now IV-sized, but only an I32
portion of it was being duplicated.  This would lead to restoring the
wrong element if a pseudfork were done with a localised array element
on the stack, if the array index were above the 32-bit range or on a
big-endian architecture.
sv.c