patchlwIP - A Lightweight TCP/IP stack - Patches: patch #10173, Correct setsockopt(...,...

 
 

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

patch #10173: Correct setsockopt(..., IP_MULTICAST_...) optval type mismatch for LWIP_DEBUGF()

Submitter:  Chad Fraleigh <chadf3>
Submitted:  Thu 27 Jan 2022 10:41:53 PM UTC
   
 
Category:  sockets/netconn Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Planned Release:  None

Thu 27 Jan 2022 10:41:53 PM UTC, original submission:  

Some setsockopt() are passed u8_t types, but the corresponding LWIP_DEBUGF() call references them as an int. This could lead to garbled debug values, unaligned data access, or unmapped memory access.

Chad Fraleigh <chadf3>

 

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

Attached Files
file #52763:  sockets-IP_MULTICAST-debug-type.patch added by chadf3 (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by chadf3 (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-01-27 chadf3 Attached File- Added sockets-IP_MULTICAST-debug-type.patch, #52763

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code