Branch: refs/heads/parsexs-length-t_pv Home: https://github.com/Perl/perl5 Commit: bdf5a3f0e023ff491eb6447381f0b7d3de763f15 https://github.com/Perl/perl5/commit/bdf5a3f0e023ff491eb6447381f0b7d3de763f15 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