[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Re: [lwip] Bug in lwip_recvfrom
From: |
Kieran Mansley |
Subject: |
[lwip-users] Re: [lwip] Bug in lwip_recvfrom |
Date: |
Thu, 09 Jan 2003 01:07:57 -0000 |
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;
Yes, this was raised last week:
http://www.sics.se/~adam/lwip/maillist/msg00801.html
Kieran
[This message was sent through the lwip discussion list.]