Commit 9ae5a67a03 for perl
commit 9ae5a67a0354c67462c315978442104e925977b8
Author: Tony Cook <tony@develop-help.com>
Date: Wed Sep 23 08:40:04 2026 +1000
Devel-PPPort: always define sv_set_undef() up until 5.44.3
5.44.3 fixed a situationally serious bug in sv_set_undef().
diff --git a/dist/Devel-PPPort/parts/inc/Sv_set b/dist/Devel-PPPort/parts/inc/Sv_set
index afab2dbcc9..54a6553aae 100644
--- a/dist/Devel-PPPort/parts/inc/Sv_set
+++ b/dist/Devel-PPPort/parts/inc/Sv_set
@@ -173,7 +173,11 @@ __UNDEFINED__ SvUV_set(sv, val) \
#endif
-__UNDEFINED__ sv_set_undef(sv) sv_setpv(sv, NULL)
+#if { VERSION < 5.45.3 }
+/* GH 24661 - sv_set_undef() cleared flags it should not */
+# undef sv_set_undef
+# define sv_set_undef(sv) sv_setpv(sv, NULL)
+#endif
=xsubs