URL:
<
http://savannah.nongnu.org/bugs/?36170>
Summary: dhcp array access out of bounds.
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: zg0
Submitted on: Fri 13 Apr 2012 11:45:33 PM GMT
Category: TCP
Severity: 3 - Normal
Item Group: Compiler Warning
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
lwIP version: 1.4.0
_______________________________________________________
Details:
in dhcp.c:
while(dhcp_option_given(dhcp, DHCP_OPTION_IDX_DNS_SERVER + n) && (n <
DNS_MAX_SERVERS)) {
bound check must be before access, isnt it?
_______________________________________________________
Reply to this item at:
<
http://savannah.nongnu.org/bugs/?36170>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/_______________________________________________
lwip-devel mailing list
lwip-devel@...
https://lists.nongnu.org/mailman/listinfo/lwip-devel