|
From: | Joel Cunningham |
Subject: | [lwip-devel] [bug #51729] lwip_itoa: fix converting 0 |
Date: | Fri, 11 Aug 2017 11:29:03 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0 |
URL: <http://savannah.nongnu.org/bugs/?51729> Summary: lwip_itoa: fix converting 0 Project: lwIP - A Lightweight TCP/IP stack Submitted by: jcunningham Submitted on: Fri 11 Aug 2017 03:29:01 PM UTC Category: None Severity: 3 - Normal Item Group: Faulty Behaviour Status: None Privacy: Public Assigned to: jcunningham Open/Closed: Open Discussion Lock: Any Planned Release: None lwIP version: git head _______________________________________________________ Details: Found that 0 can't be converted when passed to lwip_itoa. This was found via shell cmd idxtoname and win32 port. "lo0" should be returned for index 1 (instead "lo" was returned) Attached patch adds a special case check for 0 before starting the conversion while loop. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Fri 11 Aug 2017 03:29:01 PM UTC Name: 0001-lwip_itoa-fix-converting-0.patch Size: 1KiB By: jcunningham <http://savannah.nongnu.org/bugs/download.php?file_id=41480> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?51729> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |