Branch: refs/heads/parsexs-length-t_pv Home: https://github.com/Perl/perl5 Commit: cd1bf1544bc27e0de5172c49b45ffa9222c4a9ca https://github.com/Perl/perl5/commit/cd1bf1544bc27e0de5172c49b45ffa9222c4a9ca Author: Leon Timmermans <faw...@gmail.com> Date: 2025-08-03 (Sun, 03 Aug 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