[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: |
narke |
Subject: |
Re: [lwip-devel] Particular size of ping can halt lwIP -- a pbuf_copy bug? |
Date: |
Sat, 28 Apr 2012 13:38:07 +0800 |
On Saturday, 28 April 2012, Kieran Mansley wrote:
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
In my opinion, the PPP who created the kind of pbufs chain, which although looks a little strange but should be valid in form. Therefore it's a problem of the handling code. Yes, I do think it's pbuf_copy doesn't handle length 0 pbuf in the 2nd element of pbuf list.
_______________________________________________
lwip-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-devel
--
Life is the only flaw in an otherwise perfect nonexistence
-- Schopenhauer
narke
public key at http://subkeys.pgp.net:11371 (address@hidden)