Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 162b6fd168f6a99e0687b79490925b3499795ac6
      
https://github.com/Perl/perl5/commit/162b6fd168f6a99e0687b79490925b3499795ac6
  Author: Paul "LeoNerd" Evans <[email protected]>
  Date:   2025-09-26 (Fri, 26 Sep 2025)

  Changed paths:
    M pad.c

  Log Message:
  -----------
  Assert on args to padnamelist_dup() before trying to use them


  Commit: 05fb84472b3efe94bcbf06e2a467eecf97cf1f8e
      
https://github.com/Perl/perl5/commit/05fb84472b3efe94bcbf06e2a467eecf97cf1f8e
  Author: Paul "LeoNerd" Evans <[email protected]>
  Date:   2025-09-26 (Fri, 26 Sep 2025)

  Changed paths:
    M embed.fnc
    M inline.h
    M pad.c
    M proto.h
    M t/class/threads.t

  Log Message:
  -----------
  Two bugfixes to `field` handling during thread cloning

This fixes two separate but related bugs.

 * Thread clone crashed if any class existed with no fields in it. This
   is fixed by permitting a NULL PADNAMELIST parameter to
   padnamelist_dup(). [GH23771]

 * Thread cloning would unreliably segfault due to missing
   PadnameFIELDINFO() of an outer closure capture, depending on the
   exact order of CV discovery. This is fixed by correct usage of the
   PL_ptr_table to store details of cloned `struct padname_fieldinfo`
   structures, and careful ordering of assignments and recursive clone
   calls.


Compare: https://github.com/Perl/perl5/compare/fb4d3f55c423...05fb84472b3e

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

Reply via email to