[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #52763] mdns: move data off the stack and dynamically
[lwip-devel] [bug #52763] mdns: move data off the stack and dynamically allocate data.
Sat, 30 Dec 2017 10:07:20 -0500 (EST)
Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.62 Safari/537.36
Follow-up Comment #1, bug #52763 (project lwip):
Can we simplify the cleanup code in the build domain functions?
Maybe having just a goto in the LWIP_ERROR macro and freeing the domain and
return in a common block?
Running realloc on each adding of a name to a domain seems like it will
fragment memory very quickly - or maybe many of the realloc calls will need to
do nothing if more memory than requested is given earlier.
I have not used lwIP with locking so I have no comments there.
Reply to this item at:
Message sent via/by Savannah