lwIP - A Lightweight TCP/IP stack - Bugs: bug #45098, ip_addr_t type field not populated...
You are not allowed to post comments on this tracker with your current authentication level.
bug #45098: ip_addr_t type field not populated for socket address copies
| Submitter: | James Smith <rallysmith> | ||
| Submitted: | Wed 13 May 2015 03:03:09 PM UTC | ||
| Category: | sockets/netconn | Severity: | 3 - Normal |
| Item Group: | Faulty Behaviour | Status: | Fixed |
| Privacy: | Public | Assigned to: | goldsimon |
| Open/Closed: | Closed | Planned Release: | None |
| lwIP version: | git head | ||
|
Thu 21 May 2015 01:52:02 PM UTC, comment #1: |
Simon Goldschmidt <goldsimon> |
|
Wed 13 May 2015 03:03:09 PM UTC, original submission:
When using a dual stack the type field was not being set when copying socket addresses, and so subsequent users of the ip_addr_t would more than likely treat an IPv6 address as a 32-bit IPv4 (since current macros default to IPv4 when type != IPADDR_TYPE_V6 and the uninitialised field could be anything depending on the underlying run-time).
|
James Smith <rallysmith> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
| Date | Changed by | Updated Field | Previous Value | => | Replaced by |
|---|---|---|---|---|---|
| 2015-05-21 | goldsimon | Status | None | Fixed | |
| Assigned to | None | goldsimon | |||
| Open/Closed | Open | Closed | |||
| 2015-05-13 | rallysmith | Attached File | - | Added socket_ipaddr_type.patch, #33999 |
Powered by Savane 3.12.
Corresponding source code

Fixed, thanks for reporting.