lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #48953] mdns_readname_loop() allocates rather big arra


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #48953] mdns_readname_loop() allocates rather big array on the stack
Date: Thu, 15 Dec 2016 21:48:14 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36

Follow-up Comment #3, bug #48953 (project lwip):

1k might be a little much, but struct mdns_domain (260 bytes) doesn't make it
better. I mean if we really need this memory, so be it (rather allocate it on
the stack where it's reusable for other code than allocating it seperately),
but if we could avoid it it would be better :-)

If we can't avoid it, I'll just close this item, but in that case we should
point out the stack requirements (and give a calculation hint) when using the
mDNS resolver.

    _______________________________________________________

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]