Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions pkgs/development/perl-modules/NetCIDRLite-CVE-2026-40198.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
diff --git a/Lite.pm b/Lite.pm
index 0e2299f..acf8f0d 100644
--- a/Lite.pm
+++ b/Lite.pm
@@ -206,6 +206,7 @@ sub _pack_ipv6 {
return;
}
return if $ipv4 and @nums > 6;
+ return unless $empty or @nums == ($ipv4 ? 6 : 8);
$str =~ s/X/"0" x (($ipv4 ? 25 : 33)-length($str))/e if $empty;
pack("H*", "00" . $str).$ipv4;
Loading