summaryrefslogtreecommitdiff
path: root/libc/inet/res_comp.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-01-09 05:49:44 +0000
committerMike Frysinger <vapier@gentoo.org>2008-01-09 05:49:44 +0000
commite0523d622cdf5b96575ce025221ec2533a6b4454 (patch)
tree8a708bf35f651121317735ddb3f1c3c9fbeecb09 /libc/inet/res_comp.c
parent6c05ed96f646e20a8ef104d36d260fab30486768 (diff)
Daniel Jacobowitz writes:
MontaVista noticed that when their kernels were configured to trap on unaligned access gethostbyname_r could mysteriously crash. I tracked this down to an unaligned buffer being passed to gethostbyname_r from some other part of uClibc (afraid I don't remember where from any more). We have to pad the beginning of the buffer to a pointer alignment before we store pointers in it.
Diffstat (limited to 'libc/inet/res_comp.c')
0 files changed, 0 insertions, 0 deletions