[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #50042] ETHADDR16_COPY from netif->hwaddr
From: |
Daniel Elstner |
Subject: |
[lwip-devel] [bug #50042] ETHADDR16_COPY from netif->hwaddr |
Date: |
Thu, 12 Jan 2017 21:20:22 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/55.0.2883.87 Chrome/55.0.2883.87 Safari/537.36 |
URL:
<http://savannah.nongnu.org/bugs/?50042>
Summary: ETHADDR16_COPY from netif->hwaddr
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: danielk
Submitted on: Thu 12 Jan 2017 10:20:21 PM CET
Category: ARP
Severity: 3 - Normal
Item Group: Faulty Behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
lwIP version: 2.0.0
_______________________________________________________
Details:
ETHADDR16_COPY is supposed to work with 16-bit aligned source and destination,
but etharp_input() uses the macro with source netif->hwaddr, which is not
16-bit aligned.
struct netif::hwaddr could easily be made 16-bit aligned by re-arranging the
fields surrounding it. Alternatively, etharp_input() should not use
ETHADDR16_COPY() in this case.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?50042>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #50042] ETHADDR16_COPY from netif->hwaddr,
Daniel Elstner <=