[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #48402] Bug in skipping over TCP options
From: |
Ambroz Bizjak |
Subject: |
[lwip-devel] [bug #48402] Bug in skipping over TCP options |
Date: |
Mon, 4 Jul 2016 21:55:34 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 |
Follow-up Comment #1, bug #48402 (project lwip):
I should add:
0) "if (p->next != NULL) {" is also always true due to the /* sanity-check
header length */ - we know the pbuf chain has at least hdrlen_bytes, so if
these are not all in the first pbuf, there must be at least one more pbuf in
the chain. Therefore an assert "p->next != NULL" seems more appropriate here.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?48402>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/