Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 254b30e378233c89ec38c20974da4ff71b6f9821
      
https://github.com/Perl/perl5/commit/254b30e378233c89ec38c20974da4ff71b6f9821
  Author: TAKAI Kousuke <[email protected]>
  Date:   2026-02-20 (Fri, 20 Feb 2026)

  Changed paths:
    M perlio.c
    M pod/perldelta.pod
    M t/io/scalar.t

  Log Message:
  -----------
  PerlIOScalar_write: handle the case where vbuf overlaps the target scalar

If vbuf points somewhere inside the target scalar, the data pointed by
vbuf might be relocated (or modified) along with the target scalar.
To deal with it, first make a private copy of the data to be output
if it overlaps the target scalar.

t/io/scalar.t: add a test for this.


  Commit: a23c62fd31a6caedcefff3f59ded84cd71ed4e28
      
https://github.com/Perl/perl5/commit/a23c62fd31a6caedcefff3f59ded84cd71ed4e28
  Author: TAKAI Kousuke <[email protected]>
  Date:   2026-02-20 (Fri, 20 Feb 2026)

  Changed paths:
    M perlio.c

  Log Message:
  -----------
  PerlIOScalar_write: fixed broken C++ compilation

The previous commit broke C++ compilations because `const void *vbuf`
was passed to `savepvn` with 1st arg of `const char *`.
Such implicit conversion is valid in C but invalid in C++.


  Commit: 6a4d489f37b8f11298eb7e5aafda0498787fe23c
      
https://github.com/Perl/perl5/commit/6a4d489f37b8f11298eb7e5aafda0498787fe23c
  Author: TAKAI Kousuke <[email protected]>
  Date:   2026-02-20 (Fri, 20 Feb 2026)

  Changed paths:
    M pod/perldelta.pod
    M t/io/scalar.t

  Log Message:
  -----------
  t/io/scalar.t: Add a testcase for GH #24199

The preceding commit will also resolve this issue.
Also added a reference to it to perldelta.


Compare: https://github.com/Perl/perl5/compare/5a263ce5be86...6a4d489f37b8

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

Reply via email to