Branch: refs/heads/maint-votes
  Home:   https://github.com/Perl/perl5
  Commit: 7d35a21a9b8160037b202a65a0c3ed24459ef261
      
https://github.com/Perl/perl5/commit/7d35a21a9b8160037b202a65a0c3ed24459ef261
  Author: Richard Leach <richardle...@users.noreply.github.com>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M votes-5.38.xml

  Log Message:
  -----------
  Request 9e298ab to be included in perl-5.38.1

Since 399fef9,
trailing elements in an array that has been unshifted and resized
might not be properly Zero() initialized. This is because of faulty
arithmetic when calculating `to_null`, the number of elements to
initialize, when the array was only partially shifted.

This commit corrects the arithmetic, adds comments arount the
calculation of `to_null`, and adds a test based upon the case
provided in GH Perl#21235.


Reply via email to