|
From: | hanhui |
Subject: | [lwip-devel] [bug #28829] DHCP parse option error |
Date: | Sat, 06 Feb 2010 15:55:13 +0000 |
User-agent: | Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; MEGAUPLOAD 2.0) |
URL: <http://savannah.nongnu.org/bugs/?28829> Summary: DHCP parse option error Project: lwIP - A Lightweight TCP/IP stack Submitted by: hanhui03 Submitted on: Sat Feb 6 15:55:12 2010 Category: None Severity: 3 - Normal Item Group: Faulty Behaviour Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: lwIP version: CVS Head _______________________________________________________ Details: dhcp.c funtion dhcp_parse_reply() if option len > 4, val_offset is error. so pbuf_copy_partial() always get the same result. line 1430: decode_len -= 4; line 1431: decode_idx++; ++ val_offset += 4; goto decode_next; _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?28829> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |