Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 756cf5b8e3f0e9bf26a32dd9207ba46999b12d8f
      
https://github.com/Perl/perl5/commit/756cf5b8e3f0e9bf26a32dd9207ba46999b12d8f
  Author: Hugo van der Sanden <h...@crypt.org>
  Date:   2021-05-31 (Mon, 31 May 2021)

  Changed paths:
    M regcomp.c

  Log Message:
  -----------
  [gh 17847] Include data->pos_delta in #if'd-out diagnostic


  Commit: e096e509321e540009a195ee8530c7dd07c62125
      
https://github.com/Perl/perl5/commit/e096e509321e540009a195ee8530c7dd07c62125
  Author: Hugo van der Sanden <h...@crypt.org>
  Date:   2021-05-31 (Mon, 31 May 2021)

  Changed paths:
    M regcomp.c

  Log Message:
  -----------
  [gh 17847] avoid overflow on delta in study_chunk

delta and pos_delta may hold OPTIMIZE_INFTY to represent infinity.


  Commit: 8227b2b69230eaeea8f88d757b20021608518279
      
https://github.com/Perl/perl5/commit/8227b2b69230eaeea8f88d757b20021608518279
  Author: Hugo van der Sanden <h...@crypt.org>
  Date:   2021-05-31 (Mon, 31 May 2021)

  Changed paths:
    M regcomp.c

  Log Message:
  -----------
  [gh 17847] data->pos_delta should stick at infinity

The expression we're about to add to data->pos_delta in this part of
study_chunk() can be both positive or negative; however while we apply
an overflow check to avoid exceeding OPTIMIZE_INFTY, we were happily
subtracting from it when the expression was negative, making it no longer
infinite.


Compare: https://github.com/Perl/perl5/compare/f72873660d1d...8227b2b69230

Reply via email to