[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #29970] DHCP endian issues parsing option responses (w
From: |
Matt Darland |
Subject: |
[lwip-devel] [bug #29970] DHCP endian issues parsing option responses (w/ patch) |
Date: |
Wed, 26 May 2010 14:34:53 +0000 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/4.3; Linux) KHTML/4.3.5 (like Gecko) |
URL:
<http://savannah.nongnu.org/bugs/?29970>
Summary: DHCP endian issues parsing option responses (w/
patch)
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: mdarland
Submitted on: Wed 26 May 2010 02:34:52 PM GMT
Category: IPv4
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 options parsing makes assumptions about endianess that are incorrect and
leads to faulty options parsing. In particular, reading a raw byte sequence
directly into a u32_t* and then reading the integer as a 1-byte value does not
work for all platforms. Attached is the patch.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 26 May 2010 02:34:52 PM GMT Name: dhcp.c.diff Size: 2kB By:
mdarland
Patch against CVS head dhcp.c
<http://savannah.nongnu.org/bugs/download.php?file_id=20627>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?29970>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-devel] [bug #29970] DHCP endian issues parsing option responses (w/ patch),
Matt Darland <=