[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: |
Tue, 30 Aug 2016 19:29:32 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 |
URL:
<http://savannah.nongnu.org/bugs/?48953>
Summary: mdns_readname_loop() allocates rather big array on
the stack
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: goldsimon
Submitted on: Tue 30 Aug 2016 07:29:30 PM GMT
Category: None
Severity: 3 - Normal
Item Group: Change Request
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
lwIP version: git head
_______________________________________________________
Details:
mdns_readname_loop() decodes a DNS name (this is kind of duplicate to what
dns.c does, already, so might be merged?).
However, when doing so, it allocates a 63 byte array on the stack. This is
rather not the coding style lwIP has had so far: the stack has so far tried to
keep stack usage minimal...
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?48953>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #48953] mdns_readname_loop() allocates rather big array on the stack,
Simon Goldschmidt <=