Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 8c27d1fc595fedb029c0f0eda7c846fe56b1406d
      
https://github.com/Perl/perl5/commit/8c27d1fc595fedb029c0f0eda7c846fe56b1406d
  Author: Karl Williamson <[email protected]>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M op.c

  Log Message:
  -----------
  Fix tr/// compilation on VMS

64-bits on that platform require a long long, and 1UL isn't.  I should
have copied more carefully the similar code in utf8.h

(reported to me privately by Craig Berry)


  Commit: bd0e76db93fab334167b9594f98cd1c415275b33
      
https://github.com/Perl/perl5/commit/bd0e76db93fab334167b9594f98cd1c415275b33
  Author: Karl Williamson <[email protected]>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M op.c
    M t/op/tr_latin1.t

  Log Message:
  -----------
  PATCH: gh#17227 heap-buffer-overflow

There were two problems this uncovered.  One was that a floating point
expression with both operands ints truncated before becoming floating.
One operand needs to be floating.

The second is that the expansion of a non-UTF-8 byte needs to be
considered based on non-UTF-8, rather than its UTF-8 representation.


Compare: https://github.com/Perl/perl5/compare/1462134e8b9d...bd0e76db93fa

Reply via email to