[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-devel] Particular size of ping can halt lwIP -- a pbuf_copy bu
From: |
Kieran Mansley |
Subject: |
Re: [lwip-devel] Particular size of ping can halt lwIP -- a pbuf_copy bug? |
Date: |
Fri, 27 Apr 2012 19:51:43 +0100 |
On 27 Apr 2012, at 07:47, narke wrote:
> The problem is, pbuf_copy has a
> bug in handling such kind of source pbuf chain and the LWIP_ASSERT
> statement (line 843 of pbuf.c in version 1.4.0) will evaluate false.
>
> I think this is a pbuf_copy() bug and want your confirmation.
It sounds like a bug, but I'm not sure if it is in pbuf_copy or the calling
code. Is it just that pbuf_copy doesn't handle a pbuf of length 0?
Kieran