Added brackets, completed CHANGELOG

This commit is contained in:
goldsimon 2012-09-26 21:21:26 +02:00
parent 7e9f000d0b
commit 7072bc3203
2 changed files with 4 additions and 1 deletions

View File

@ -80,6 +80,9 @@ HISTORY
++ Bugfixes:
2012-09-26: patch by Henrik Persson
* dhcp.c: patch #7840 Segfault in dhcp_parse_reply if no end marker in dhcp packet
2012-08-22: Simon Goldschmidt
* memp.c: fixed bug #37166: memp_sanity check loops itself

View File

@ -1472,7 +1472,7 @@ decode_next:
if (offset >= q->len) {
offset -= q->len;
offset_max -= q->len;
if (offset < offset_max && offset_max) {
if ((offset < offset_max) && offset_max) {
q = q->next;
LWIP_ASSERT("next pbuf was null", q);
options = (u8_t*)q->payload;