Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 19a9b81441380831c177d891e354be5f1717bbd8
https://github.com/Perl/perl5/commit/19a9b81441380831c177d891e354be5f1717bbd8
Author: TAKAI Kousuke <[email protected]>
Date: 2026-02-03 (Tue, 03 Feb 2026)
Changed paths:
M perlio.c
M t/io/scalar.t
Log Message:
-----------
PerlIOScalar_write: further avoid SvCUR() on undefined scalar
This is a supplement to my previous commit
10479682983ec87385921d8e144f2edb1676fc9f. There were still cases
where SvCUR() was called for an undefined SV, which used cause
the newly created scalar not to be truncated or padded properly.
t/io/scalar.t: added tests for this change.
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications