[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox-cvs
Subject: [git commit master 1/1] dnsd: fix 64-bit bug 2539.
From: vda.linux () googlemail ! com (Denys Vlasenko)
Date: 2010-10-28 22:37:56
Message-ID: 20101028223847.9EB7D8D543 () busybox ! osuosl ! org
[Download RAW message or body]
commit: http://git.busybox.net/busybox/commit/?id=dc8ef353fd8ae0641a53c2507138155dcd5f76e7
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
networking/dnsd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/networking/dnsd.c b/networking/dnsd.c
index 92d4867..8ed31ce 100644
--- a/networking/dnsd.c
+++ b/networking/dnsd.c
@@ -388,7 +388,7 @@ static int process_packet(struct dns_entry *conf_data,
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);
--
1.7.1
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic