]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/commit
Segfault in dhcp_parse_reply if no end marker
authorHenrik Persson <henrik.persson@securitas-direct.com>
Thu, 30 Aug 2012 11:57:33 +0000 (13:57 +0200)
committergoldsimon <goldsimon@gmx.de>
Wed, 19 Sep 2012 20:11:56 +0000 (22:11 +0200)
commit7e9f000d0bcc307f4696a34b958759787a130778
treef36d4a00292162a83b4e26b11b4b60a3602d23a7
parent150b4fb4f6069cd2cc1b66e47a848b41d1f7d453
Segfault in dhcp_parse_reply if no end marker

If no endmarker is present in a dhcp reply a null pointer is potentially
dereferenced.

Add fix and test case as proof of concept.
src/core/dhcp.c
test/unit/dhcp/test_dhcp.c