lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #48953] mdns has rather high stack usage (sizeof(struc


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #48953] mdns has rather high stack usage (sizeof(struct mdns_domain)*2)
Date: Fri, 10 Mar 2017 17:13:18 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Update of bug #48953 (project lwip):

                Severity:              3 - Normal => 2 - Minor              
                 Summary: mdns_readname_loop() allocates rather big array on
the stack => mdns has rather high stack usage (sizeof(struct mdns_domain)*2)

    _______________________________________________________

Follow-up Comment #4:

mdns_readname_loop should be fixed (one copy avoided), but the bigger problem
of allocating 2 mdns_domain structs on the stack remains. For some parts of
the code, allocating those two opne after the other should work, but for some,
it's not as easy...

-> changing the summary to reflect this

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?48953>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]