[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: |
Sylvain Rochet |
Subject: |
Re: [lwip-users] [LwIP 1.4.1] Ping length of 92 bytes via PPP crashes LwIP core/pbuf.c |
Date: |
Tue, 16 May 2017 12:27:29 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hi,
On Tue, May 16, 2017 at 10:48:26AM +0200, Simon Goldschmidt wrote:
> Marco Jakobs wrote:
> > That one deals with this:
> >
> > LWIP_ERROR("p_to != NULL", (p_to != NULL) || (p_from == NULL) ||
> > (p_from->len == NULL) , return ERR_ARG;);
>
> WTF? "-len == NULL"???
>
> > The assert comes from the ICMP routine ;-) :
>
> I rather guess the bug is in PPP (from 1.4.1) allocating a pbuf with
> len==0 at the end. Otherwise, you should see this bug on the ethernet
> side, too.
I checked if the issue was still there is the current master/2.0 branch,
you are right, this bug was fixed in commit fb07a28c99 ("fixed bug
#36388 (PPP: checksum-only in last pbuf leads to pbuf with zero
length)") *FIVE* years ago.
Sylvain
signature.asc
Description: Digital signature
- [lwip-users] [LwIP 1.4.1] Ping length of 92 bytes via PPP crashes LwIP core/pbuf.c, Marco Jakobs, 2017/05/15
- Re: [lwip-users] [LwIP 1.4.1] Ping length of 92 bytes via PPP crashes LwIP core/pbuf.c, Simon Goldschmidt, 2017/05/15
- Re: [lwip-users] [LwIP 1.4.1] Ping length of 92 bytes via PPP crashes LwIP core/pbuf.c, Marco Jakobs, 2017/05/15
- Re: [lwip-users] [LwIP 1.4.1] Ping length of 92 bytes via PPP crashes LwIP core/pbuf.c, Marco Jakobs, 2017/05/15
- Re: [lwip-users] [LwIP 1.4.1] Ping length of 92 bytes via PPP crashes LwIP core/pbuf.c, Marco Jakobs, 2017/05/15
- Re: [lwip-users] [LwIP 1.4.1] Ping length of 92 bytes via PPP crashes LwIP core/pbuf.c, Simon Goldschmidt, 2017/05/15
- Re: [lwip-users] [LwIP 1.4.1] Ping length of 92 bytes via PPP crashes LwIP core/pbuf.c, Marco Jakobs, 2017/05/15
- Re: [lwip-users] [LwIP 1.4.1] Ping length of 92 bytes via PPP crashes LwIP core/pbuf.c, Simon Goldschmidt, 2017/05/16
- Re: [lwip-users] [LwIP 1.4.1] Ping length of 92 bytes via PPP crashes LwIP core/pbuf.c,
Sylvain Rochet <=
- Re: [lwip-users] [LwIP 1.4.1] Ping length of 92 bytes via PPP crashes LwIP core/pbuf.c, address@hidden, 2017/05/16
- Re: [lwip-users] [LwIP 1.4.1] Ping length of 92 bytes via PPP crashes LwIP core/pbuf.c, Marco Jakobs, 2017/05/16
- Re: [lwip-users] [LwIP 1.4.1] Ping length of 92 bytes via PPP crashes LwIP core/pbuf.c, address@hidden, 2017/05/17
- Re: [lwip-users] [LwIP 1.4.1] Ping length of 92 bytes via PPP crashes LwIP core/pbuf.c, Marco Jakobs, 2017/05/18
- Re: [lwip-users] [LwIP 1.4.1] Ping length of 92 bytes via PPP crashes LwIP core/pbuf.c, Simon Goldschmidt, 2017/05/18
- Re: [lwip-users] [LwIP 1.4.1] Ping length of 92 bytes via PPP crashes LwIP core/pbuf.c, Sylvain Rochet, 2017/05/16