[PATCH v2 1/2] gethostbyaddr_r: add space for alias pointers

Mike Frysinger vapier at gentoo.org
Tue Nov 29 05:05:14 UTC 2011


On Monday 28 November 2011 11:25:49 Voss, Nikolaus wrote:
> Nikolaus Voss wrote on 2011-11-28:
> >  	alias = (char **)buf;
> > 
> > +	buf += sizeof(*addr_list) * 2;
> > +	buflen -= sizeof(*addr_list) * 2;
> 
> this should be sizeof(alias) instead of sizeof(*addr_list) of course.

i bet someone has filed a bug on this before ;)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20111129/8958a7df/attachment.asc>


More information about the uClibc mailing list