Re: [PATCH] resolv: fix unaligned tmp buffer corner-case

2015-03-14 Thread Bernhard Reutner-Fischer
On March 14, 2015 4:06:03 PM GMT+01:00, Rich Felker dal...@libc.org wrote: On Thu, Mar 12, 2015 at 02:21:12AM +0300, Alexey Brodkin wrote: On execution of inet/gethost_r-align test I noticed failure due to unaligned access (instaed of 4-byte aligned 1-byte aligned address was attempted to be

Re: [PATCH] resolv: fix unaligned tmp buffer corner-case

2015-03-14 Thread Rich Felker
On Thu, Mar 12, 2015 at 02:21:12AM +0300, Alexey Brodkin wrote: On execution of inet/gethost_r-align test I noticed failure due to unaligned access (instaed of 4-byte aligned 1-byte aligned address was attempted to be accessed). Further investigation confirmed this nice and helpful test

[PATCH] resolv: fix unaligned tmp buffer corner-case

2015-03-11 Thread Alexey Brodkin
On execution of inet/gethost_r-align test I noticed failure due to unaligned access (instaed of 4-byte aligned 1-byte aligned address was attempted to be accessed). Further investigation confirmed this nice and helpful test failure. Following commit removed usage of ALIGN_BUFFER_OFFSET on entry