diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2004-02-29 20:26:59 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2004-02-29 20:26:59 +0800 |
commit | 10a969fb73c59ee213f2fe351280155d3e7814ce (patch) | |
tree | 65ffd94f16f8d5f31b4911456ab6ac320ab90eb2 /net-mgmt | |
parent | e453e7ce575baf85c89888e5d826b9911c74bdef (diff) | |
download | freebsd-ports-graphics-10a969fb73c59ee213f2fe351280155d3e7814ce.tar.gz freebsd-ports-graphics-10a969fb73c59ee213f2fe351280155d3e7814ce.tar.zst freebsd-ports-graphics-10a969fb73c59ee213f2fe351280155d3e7814ce.zip |
Avoid "kvm_read: Bad address" error.
PR: ports/63026
Submitted by: Antoine Jacoutot <ajacoutot@lphp.org>
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/net-snmp-devel/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/net-snmp-devel/files/patch-auto_nlist.c | 10 | ||||
-rw-r--r-- | net-mgmt/net-snmp/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/net-snmp/files/patch-auto_nlist.c | 10 | ||||
-rw-r--r-- | net-mgmt/net-snmp53/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/net-snmp53/files/patch-auto_nlist.c | 10 |
6 files changed, 33 insertions, 3 deletions
diff --git a/net-mgmt/net-snmp-devel/Makefile b/net-mgmt/net-snmp-devel/Makefile index 1809774e30a..ba56db36fcf 100644 --- a/net-mgmt/net-snmp-devel/Makefile +++ b/net-mgmt/net-snmp-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= net-snmp PORTVERSION= 5.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= net-snmp diff --git a/net-mgmt/net-snmp-devel/files/patch-auto_nlist.c b/net-mgmt/net-snmp-devel/files/patch-auto_nlist.c new file mode 100644 index 00000000000..79feff8f64e --- /dev/null +++ b/net-mgmt/net-snmp-devel/files/patch-auto_nlist.c @@ -0,0 +1,10 @@ +--- agent/auto_nlist.c.orig Sun Feb 29 21:24:25 2004 ++++ agent/auto_nlist.c Sun Feb 29 21:24:43 2004 +@@ -57,6 +57,7 @@ + } + if (*ptr == 0) { + *ptr = (struct autonlist *) malloc(sizeof(struct autonlist)); ++ memset(*ptr, 0, sizeof(struct autonlist)); + it = *ptr; + it->left = 0; + it->right = 0; diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile index 1809774e30a..ba56db36fcf 100644 --- a/net-mgmt/net-snmp/Makefile +++ b/net-mgmt/net-snmp/Makefile @@ -7,7 +7,7 @@ PORTNAME= net-snmp PORTVERSION= 5.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= net-snmp diff --git a/net-mgmt/net-snmp/files/patch-auto_nlist.c b/net-mgmt/net-snmp/files/patch-auto_nlist.c new file mode 100644 index 00000000000..79feff8f64e --- /dev/null +++ b/net-mgmt/net-snmp/files/patch-auto_nlist.c @@ -0,0 +1,10 @@ +--- agent/auto_nlist.c.orig Sun Feb 29 21:24:25 2004 ++++ agent/auto_nlist.c Sun Feb 29 21:24:43 2004 +@@ -57,6 +57,7 @@ + } + if (*ptr == 0) { + *ptr = (struct autonlist *) malloc(sizeof(struct autonlist)); ++ memset(*ptr, 0, sizeof(struct autonlist)); + it = *ptr; + it->left = 0; + it->right = 0; diff --git a/net-mgmt/net-snmp53/Makefile b/net-mgmt/net-snmp53/Makefile index 1809774e30a..ba56db36fcf 100644 --- a/net-mgmt/net-snmp53/Makefile +++ b/net-mgmt/net-snmp53/Makefile @@ -7,7 +7,7 @@ PORTNAME= net-snmp PORTVERSION= 5.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= net-snmp diff --git a/net-mgmt/net-snmp53/files/patch-auto_nlist.c b/net-mgmt/net-snmp53/files/patch-auto_nlist.c new file mode 100644 index 00000000000..79feff8f64e --- /dev/null +++ b/net-mgmt/net-snmp53/files/patch-auto_nlist.c @@ -0,0 +1,10 @@ +--- agent/auto_nlist.c.orig Sun Feb 29 21:24:25 2004 ++++ agent/auto_nlist.c Sun Feb 29 21:24:43 2004 +@@ -57,6 +57,7 @@ + } + if (*ptr == 0) { + *ptr = (struct autonlist *) malloc(sizeof(struct autonlist)); ++ memset(*ptr, 0, sizeof(struct autonlist)); + it = *ptr; + it->left = 0; + it->right = 0; |