Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: bc3f1549931f2e6d028dca4bdc9a9001496a7f51
      
https://github.com/Perl/perl5/commit/bc3f1549931f2e6d028dca4bdc9a9001496a7f51
  Author: Alin Iacob <[email protected]>
  Date:   2026-10-03 (Sat, 03 Oct 2026)

  Changed paths:
    M pod/perldelta.pod
    M sv.c

  Log Message:
  -----------
  sv.c: handle static strings in PERL_NO_COW builds

The no-COW paths in sv_uncow() and sv_clear() treated static strings
as shared hash keys. Boolean values use static strings even with
PERL_NO_COW, so modifying or freeing them could crash.

Only call unshare_hek() for shared hash keys.

Fixes #19987


  Commit: 72a7b691c5ca0569771079c1420311a9344bff39
      
https://github.com/Perl/perl5/commit/72a7b691c5ca0569771079c1420311a9344bff39
  Author: Alin Iacob <[email protected]>
  Date:   2026-10-03 (Sat, 03 Oct 2026)

  Changed paths:
    M t/op/bool.t

  Log Message:
  -----------
  t/op/bool.t: test boolean cleanup with PERL_NO_COW

Cover both true and false values when appending, undefining and
freeing a scalar. These cases crashed before the fix for GH #19987.


Compare: https://github.com/Perl/perl5/compare/d143fc255132...72a7b691c5ca

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to