Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 0546855d7431d3fdfce69d4cced3d294 > files > 13

dhcp-3.0.5-31.el5.src.rpm

diff -up dhcp-3.0.5/server/failover.c.leak dhcp-3.0.5/server/failover.c
--- dhcp-3.0.5/server/failover.c.leak	2009-11-18 09:00:08.000000000 +0100
+++ dhcp-3.0.5/server/failover.c	2009-11-18 09:18:54.000000000 +0100
@@ -5040,6 +5040,8 @@ int load_balance_mine (struct packet *pa
 				   packet -> options, (struct option_state *)0,
 				   &global_scope, oc, MDL)) {
 		hbaix = loadb_p_hash (ds.data, ds.len);
+
+		data_string_forget(&ds, MDL);
 	} else {
 		hbaix = loadb_p_hash (packet -> raw -> chaddr,
 				      packet -> raw -> hlen);