lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #60569] lwip_gethostbyname(_r) does not handle IPv4/IP


From: Erik Ekman
Subject: [lwip-devel] [bug #60569] lwip_gethostbyname(_r) does not handle IPv4/IPv6 correctly
Date: Thu, 13 May 2021 07:20:17 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36

Follow-up Comment #2, bug #60569 (project lwip):

ip_addr_t is sized to fit any IP address supported in the build - so there
should not be any out of bounds writes at least. Did you see memory corruption
happen?

Switching from ipaddr_ntoa to ip4addr_ntoa seems like a step away from v4/v6
compatibility as the former handles both.

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?60569>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

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