[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] pbuf ASSERT triggering
From: |
Karl Jeacle |
Subject: |
[lwip-users] pbuf ASSERT triggering |
Date: |
Sun, 25 Jul 2004 21:00:59 +0100 |
Small problem:
When data is passed to a receiving application, "inseg.p" is set to NULL
before being passed to pbuf_free() - this is triggering an LWIP_ASSERT.
tcp_in.c:1004, inseg.p = NULL
tcp_in.c:354, pbuf_free(inseg.p)
pbuf.c:553, LWIP_ASSERT("p != NULL", p != NULL);
Presumably inseg.p should be checked to see if it's NULL before calling
pbuf_free() at tcp_in:354.
The LWIP_ASSERT first appeared in v1.65 of pbuf.c (end April).
Karl
- [lwip-users] pbuf ASSERT triggering,
Karl Jeacle <=