Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: b7b77ffc1ef26998503489eb59864f835cc04edd
      
https://github.com/Perl/perl5/commit/b7b77ffc1ef26998503489eb59864f835cc04edd
  Author: Richard Leach <[email protected]>
  Date:   2025-10-03 (Fri, 03 Oct 2025)

  Changed paths:
    M perl.h
    M t/op/eval.t

  Log Message:
  -----------
  CLEAR_ERRSV: create a new SV if the existing one isGV_with_GP

GH #16885 is a fuzzer-identified assert in Perl_sv_grow. Besides the
question of how the program should behave, the actual assertion comes
via the `SvPVCLEAR()` statement in `CLEAR_ERRSV`, where `svp` is
unexpectedly a PVGV with GV. This commit treats this the same as if
`svp` was READONLY - the refcount is decremented and `svp` assigned
a brand new SVt_PV.



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

Reply via email to