openbsd-ports/net/net-snmp/patches/patch-snmplib_container_c
bernd 5f484e443f Security update to net-snmp-5.1.3.
- fix potential race condition in fixproc script
- fix DOS vulnerability on tcp connections

help & ok sturm@
2005-11-05 19:09:38 +00:00

13 lines
598 B
Plaintext

$OpenBSD: patch-snmplib_container_c,v 1.2 2005/11/05 19:09:38 bernd Exp $
--- snmplib/container.c.orig Fri May 20 23:34:42 2005
+++ snmplib/container.c Thu Nov 3 23:31:05 2005
@@ -29,7 +29,7 @@ _factory_free(void *dat, void *context)
if (data->name != NULL) {
DEBUGMSGTL(("container", " _factory_free_list() called for %s\n",
data->name));
- free((const void*)data->name); /* SNMP_FREE wasted on object about to be freed */
+ free((void*)data->name); /* SNMP_FREE wasted on object about to be freed */
}
free(data); /* SNMP_FREE wasted on param */
}