[PATCH] Fix misaligned access accessing HEADER struct in res_query.c

John David Anglin dave.anglin@bell.net
Wed Jun 15 11:43:00 GMT 2016


The attached patch fixes BZ 20243.  The HEADER struct needs to be packed so that
byte accesses are used.  Tested using glibc 2.22-11on hppa.  Please install if okay.

Dave
--
John David Anglin	dave.anglin@bell.net


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nameser_compat.h.d.txt
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160615/22253447/attachment.txt>


More information about the Libc-alpha mailing list