diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-10-29 13:32:02 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-10-29 13:32:02 +0200 |
commit | 19e306338e7fa8fb840f93eccdce897e387739c5 (patch) | |
tree | 8ac147f04e37f899e59bf10a625c4ad655bdaf8d /package/busybox/busybox-1.17.3/busybox-1.17.3-dnsd.patch | |
parent | 00381f6599c99e6d118aec0cc30a47aa1d6db922 (diff) | |
download | buildroot-novena-19e306338e7fa8fb840f93eccdce897e387739c5.tar.gz buildroot-novena-19e306338e7fa8fb840f93eccdce897e387739c5.zip |
busybox: additional 1.17.3 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.17.3/busybox-1.17.3-dnsd.patch')
-rw-r--r-- | package/busybox/busybox-1.17.3/busybox-1.17.3-dnsd.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.17.3/busybox-1.17.3-dnsd.patch b/package/busybox/busybox-1.17.3/busybox-1.17.3-dnsd.patch new file mode 100644 index 000000000..b135c1463 --- /dev/null +++ b/package/busybox/busybox-1.17.3/busybox-1.17.3-dnsd.patch @@ -0,0 +1,12 @@ +diff -urpN busybox-1.17.3/networking/dnsd.c busybox-1.17.3-dnsd/networking/dnsd.c +--- busybox-1.17.3/networking/dnsd.c 2010-10-09 21:57:14.000000000 +0200 ++++ busybox-1.17.3-dnsd/networking/dnsd.c 2010-10-29 00:37:43.066043841 +0200 +@@ -388,7 +388,7 @@ static int process_packet(struct dns_ent + query_len = strlen(query_string) + 1; + /* may be unaligned! */ + unaligned_type_class = (void *)(query_string + query_len); +- query_len += sizeof(unaligned_type_class); ++ query_len += sizeof(*unaligned_type_class); + /* where to append answer block */ + answb = (void *)(unaligned_type_class + 1); + |