Branch: refs/heads/parsexs-length-t_pv Home: https://github.com/Perl/perl5 Commit: e2140899e7e27d986d6906c2ac5371e63d3d855f https://github.com/Perl/perl5/commit/e2140899e7e27d986d6906c2ac5371e63d3d855f Author: Leon Timmermans <faw...@gmail.com> Date: 2025-07-27 (Sun, 27 Jul 2025)
Changed paths: M dist/ExtUtils-ParseXS/Changes M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Node.pm M dist/ExtUtils-ParseXS/t/001-basic.t Log Message: ----------- Explicitly reject length(NAME) with typemaps other than T_PV Previously, the length operator on typemaps other than T_PV would lead to that length value not being initialized, leading to segfaults and worse. Worse yet, parsexs would silently emit this erroneous code. For now it will at least give a clear error, in the future we should perhaps consider eliminating this limitation altogether. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications