buglwIP - A Lightweight TCP/IP stack - Bugs: bug #61590, DNS Servers Limit when...

 
 

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

bug #61590: DNS Servers Limit when DNS_MAX_SERVERS > LWIP_DHCP_MAX_DNS_SERVERS

Submitted by:  Corentin <corentin>
Submitted on:  Tue 30 Nov 2021 03:59:58 PM UTC
 
Category:  DHCP Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
lwIP version:  * git head
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

Fri 10 Dec 2021 10:26:09 AM UTC, comment #1: 
Borys Szefler <bsz>
Tue 30 Nov 2021 03:59:58 PM UTC, original submission:  

When DNS_MAX_SERVERS > LWIP_DHCP_MAX_DNS_SERVERS, the limit number of DNS servers provided by decode_len in function dhcp_parse_reply is set by DNS_MAX_SERVERS.

this generate an LWIP_ASSERT (decode_idx < DHCP_OPTION_IDX_MAX) when DHCP send much than LWIP_DHCP_MAX_DNS_SERVERS.

See watched a patch that sound fix this issue.

Corentin <corentin>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #52390:  dhcp_dns.patch added by corentin (709B - 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 bsz (Posted a comment)
  • -email is unavailable- added by corentin (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.

    Only logged-in users can vote.

     

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-30 corentin Attached File- => Added dhcp_dns.patch, #52390

    Back to the top


    Powered by Savane 3.9