lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #9041] ipaddr_aton: Accept URI-style termination


From: chrysn
Subject: [lwip-devel] [patch #9041] ipaddr_aton: Accept URI-style termination
Date: Wed, 6 Jul 2016 08:32:04 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux) AppleWebKit/538.15 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/538.15 Midori/0.5

URL:
  <http://savannah.nongnu.org/patch/?9041>

                 Summary: ipaddr_aton: Accept URI-style termination
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: chrysn
            Submitted on: Wed 06 Jul 2016 08:32:02 AM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

ipaddr_aton already accepted whitespace instead of 0 at the end of the address
string. The range of acceptable termination characters is now extended (both
for V4 and V6 addresses) to include characters to be expected when the address
is part of a URI.

This is particularly handy when URIs come along as const char (be it in ROM or
in packages) and get parsed in-place, and spares keeping a 40 byte buffer
around just to 0-terminate the address strings.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9041>

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




reply via email to

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