patchlwIP - A Lightweight TCP/IP stack - Patches: patch #10280, Add missing checks for...


You are not allowed to post comments on this tracker with your current authentication level.

patch #10280: Add missing checks for LWIP_SOCKET_HAVE_SA_LEN

Submitter:  Stephan Gerhold <sgerhold>
Submitted:  Mon 19 Sep 2022 05:41:10 PM UTC
Category:  sockets/netconn Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Planned Release:  None

Mon 19 Sep 2022 05:41:10 PM UTC, original submission:  


I ran into some problems trying to compile lwIP against external socket headers from uClibc. This patch adds some missing #ifdefs for usages of the "sin_len" field of struct sockaddr, which might not exist in the external socket headers. src/api/sockets.c handles this by checking if LWIP_SOCKET_HAVE_SA_LEN is defined, but the same checks are missing in src/api/netdb.c and contrib/apps/ping/ping.c.


Stephan Gerhold <sgerhold>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by sgerhold (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-09-19 sgerhold Attached File- Added 0001-Add-missing-checks-for-LWIP_SOCKET_HAVE_SA_LEN.patch, #53718

    Back to the top

    Powered by Savane 3.12