lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Re: [lwip] Bug in lwip_recvfrom


From: Jani Monoses
Subject: [lwip-users] Re: [lwip] Bug in lwip_recvfrom
Date: Thu, 09 Jan 2003 00:22:33 -0000

Yes I reported this last week.
The difference is that you got the fix right too :)

On Fri, 12 Apr 2002, Mumtaz Ahmad wrote:

> There is a bug in lwip_recvfrom when the number of bytes asked by the user
> is less than the actual amount of data received.
> The function sets sock->lastoffset to remeber the last position in the
> bufer. The way it does is
>     sock->lastoffset = buflen - copylen;
>
> instead it should be
>     sock->lastoffset = sock->lastoffset + copylen;
>
>
> Mumtaz Ahmad
>
>        _o
>     _< \_
>    (_) >(_)
>    -------------
>
>
> [This message was sent through the lwip discussion list.]
>

[This message was sent through the lwip discussion list.]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]