[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #64685] snmp traps build failure (dangling pointer)
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #64685] snmp traps build failure (dangling pointer) |
Date: |
Tue, 10 Oct 2023 14:20:23 -0400 (EDT) |
Follow-up Comment #1, bug #64685 (project lwip):
You're right that it is storing the address of a variable on stack, but I
don't think you're right that it is broken: as I see it the variable (although
referenced by address) is only used during its lifetime, i.e. mainly for
snmp_send_msg() and restored before the function is exited.
The code as it is should not have a real problem. I'm still open to change it
to get rid of the warning you see, if you have any suggestion.
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?64685>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-devel] [bug #64685] snmp traps build failure (dangling pointer),
Simon Goldschmidt <=