ports/net-mgmt/nfsen/files/patch-libexec_NfSenRRD.pm
Mark Felder 54ca8b47e5 net-mgmt/nfsen: Update to 1.3.7
This release fixes a remote command execution vulnerability

Pet portlint

Announcement:	https://sourceforge.net/p/nfsen/mailman/message/35623845/

MFH:		2017Q1
Security:	6e83b2f3-e4e3-11e6-9ac1-a4badb2f4699
2017-01-27 23:00:36 +00:00

11 lines
293 B
Raku

--- libexec/NfSenRRD.pm.orig 2017-01-27 22:36:32 UTC
+++ libexec/NfSenRRD.pm
@@ -73,7 +73,7 @@ sub GetRRDoffset {
if ( $rrd_version < 1.1 ) { # it's RRD 1.0.x
$RRDoffset = 77;
}
- if ( $rrd_version >= 1.2 && $rrd_version < 1.6 ) {
+ if ( $rrd_version >= 1.2 {
$RRDoffset = 67;
}