lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] [LwIP 1.4.1] Ping length of 92 bytes via PPP crashes Lw


From: Simon Goldschmidt
Subject: Re: [lwip-users] [LwIP 1.4.1] Ping length of 92 bytes via PPP crashes LwIP core/pbuf.c
Date: Mon, 15 May 2017 15:13:37 +0200

Marco Jakobs wrote:
> [..] but the bug is in the LWIP_ERROR line:
> The error kicks in when there is no next p_from pbuf (which is fine) or when 
> there *is* a next p_to pbuf.
> In my opinion the error should kick in if there is either no active "p_from" 
> or no active "p_to" at this place.

Have you checked the definition of LWIP_ERROR()?
That line should return ERR_ARG if to is NULL but from is not (in other words, 
to is not large enough).

> Any comments? Otherwise I'd recommend to push that into 1.4.1

There's no such thing as pushing into 1.4.1 :-)


Simon



reply via email to

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