[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #49124] MDNS should not use snprintf()
From: |
Dirk Ziegelmeier |
Subject: |
[lwip-devel] [bug #49124] MDNS should not use snprintf() |
Date: |
Mon, 19 Sep 2016 06:39:59 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0 |
Follow-up Comment #1, bug #49124 (project lwip):
Can you try whether this works?
[...]
char buf[4];
size_t len;
itoa(ptr[i], buf, 10);
len = strnlen(buf, sizeof(buf));
res = mdns_domain_add_label(domain, buf, (u8_t)len);
[...]
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?49124>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/