On 12/11/2009 12:44 AM, Bruno Haible wrote:
But this also means that our recvfrom wrapper makes invalid memory accesses.
Here is a proposed patch:
2009-12-10 Bruno Haible
* lib/recvfrom.c (rpl_recvfrom): Allow the from argument to be NULL.
--- lib/recvfrom.c.orig 2009-12-11 00:33:28.
Hi Eric, Paolo, Simon,
About sendto, I wrote:
> > > -extern int rpl_sendto (int, const void *, int, int, struct sockaddr *,
> > > int);
> > > +extern int rpl_sendto (int, const void *, int, int, struct sockaddr *,
> > > int)
> > > + _GL_ARG_NONNULL ((2, 5));
> >
> > Bug: Arg 5 can be NULL,