mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-10-01 12:00:42 +03:00
fix a socket leak in udhcpc (patch by Eric L. Chen)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8069 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3295cd2c88
commit
ace568617f
12
package/busybox/patches/244-socket_leak.patch
Normal file
12
package/busybox/patches/244-socket_leak.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: busybox-1.4.2/networking/udhcp/socket.c
|
||||||
|
===================================================================
|
||||||
|
--- busybox-1.4.2.orig/networking/udhcp/socket.c 2007-07-20 02:27:30.440097649 +0200
|
||||||
|
+++ busybox-1.4.2/networking/udhcp/socket.c 2007-07-20 02:27:54.849488669 +0200
|
||||||
|
@@ -83,6 +83,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);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user