diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-05-27 20:14:09 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-05-27 20:14:09 +0200 |
commit | 3c85ab716f46f4610db2638b34bafe5e6aaff8cf (patch) | |
tree | 2e96bf05308c6f5f44b2fe43f8157642b9725b99 /package/busybox/busybox-1.14.0-dhcp_hostname.patch | |
parent | 3169b04725d45ed96059f0b14456b80ff1ac02df (diff) |
busybox: bump 1.14.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.14.0-dhcp_hostname.patch')
-rw-r--r-- | package/busybox/busybox-1.14.0-dhcp_hostname.patch | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/package/busybox/busybox-1.14.0-dhcp_hostname.patch b/package/busybox/busybox-1.14.0-dhcp_hostname.patch deleted file mode 100644 index 79bc5eaae..000000000 --- a/package/busybox/busybox-1.14.0-dhcp_hostname.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- busybox-1.14.0/networking/udhcp/leases.c Tue Apr 14 01:42:51 2009 -+++ busybox-1.14.0-dhcp_hostname/networking/udhcp/leases.c Tue Apr 21 02:41:22 2009 -@@ -63,7 +63,8 @@ - if (oldest) { - oldest->hostname[0] = '\0'; - if (hostname) { -- hostname_length = hostname[-1]; /* look at option size byte */ -+ /* option size byte, + 1 for NUL */ -+ hostname_length = hostname[-1] + 1; - if (hostname_length > sizeof(oldest->hostname)) - hostname_length = sizeof(oldest->hostname); - hostname = (uint8_t*) safe_strncpy((char*)oldest->hostname, (char*)hostname, hostname_length); |