[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #36561] Some netifapi functions handle pointers to sta
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #36561] Some netifapi functions handle pointers to stale objects |
Date: |
Wed, 30 May 2012 14:16:47 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0 |
Update of bug #36561 (project lwip):
Status: None => Invalid
Assigned to: None => goldsimon
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
That's no bug, because:
- TCPIP_NETIFAPI() (as called by netifapi_netif_add()) waits for
tcpip_callback() to return, so when netif_add() is called, the address is
still valid.
- both netif_add() and netif_set_addr() copy the address into ip_addr_t
members of struct netif, so the original pointers are not referenced after the
function returns.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?36561>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.nongnu.org/