[Bug 2539] New: dnsd not working on x86_64 systems
bugzilla at busybox.net
bugzilla at busybox.net
Wed Sep 8 16:55:29 UTC 2010
https://bugs.busybox.net/show_bug.cgi?id=2539
Summary: dnsd not working on x86_64 systems
Product: Busybox
Version: 1.17.x
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: Networking
AssignedTo: unassigned at busybox.net
ReportedBy: sebastien.bonnart at yopmail.com
CC: busybox-cvs at busybox.net
Estimated Hours: 0.0
The positive anwsers from dnsd are not readable when dsnd is running on 64bits
systems.
This is due to line 391 of dnsd.c : "query_len +=
sizeof(unaligned_type_class);".
unaligned_type_class is a pointer and what we want here is the size of the
object. This object's size is 32bits this is why the problem only appears on 64
bits systems.
The solution is to change the line for : "query_len +=
sizeof(*unaligned_type_class);"
Best regards
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list