[Perl/perl5] 9799a5: pp_ref_cmp - improve correctness of package name c...
[email protected] (Richard Leach via perl5-changes) Tue, 28 Jul 2026 16:36:38 -0700
| Newsgroups | perl.perl5.changes |
|---|---|
| Message-ID | <Perl/perl5/push/refs/heads/blead/[email protected]> |
Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 9799a574c8a608949a75697382520aa30d909217
https://github.com/Perl/perl5/commit/9799a574c8a608949a75697382520aa30d909217
Author: Richard Leach <[email protected]>
Date: 2026-07-29 (Wed, 29 Jul 2026)
Changed paths:
M pp.c
M t/op/ref.t
Log Message:
-----------
pp_ref_cmp - improve correctness of package name comparisons
f7504b2b932ed510a2d733413e7848d452cb840f streamlined SV ref type
comparisons but introduced two types of bug.
* A copy/paste error caused GH#24621, as the OPpREF_CMP_EMPTYSTR check
erroneously fired for package length of six instead of zero.
* Package names that are truncated versions of the builtin types, or
contained embedded nulls, were improperly compared.
This commit fixes the above and adds tests.
To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications