1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-27 01:32:24 +02:00
openwrt-xburst/package/busybox/patches/244-socket_leak.patch
pavlov b0c94d7f56 refresh busybox patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-30 20:36:25 +00:00

13 lines
462 B
Diff

Index: busybox-1.7.2/networking/udhcp/socket.c
===================================================================
--- busybox-1.7.2.orig/networking/udhcp/socket.c 2007-10-30 15:35:00.000000000 -0500
+++ busybox-1.7.2/networking/udhcp/socket.c 2007-10-30 15:35:02.000000000 -0500
@@ -78,6 +78,7 @@
DEBUG("adapter hardware address %02x:%02x:%02x:%02x:%02x:%02x",
arp[0], arp[1], arp[2], arp[3], arp[4], arp[5]);
}
+ close(fd);
close(fd);
return 0;