buglwIP - A Lightweight TCP/IP stack - Bugs: bug #48398, dns: entries reused during...

 
 

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

bug #48398: dns: entries reused during found-callback could be aborted if ttl==0

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Mon 04 Jul 2016 11:32:08 AM UTC
   
 
Category:  DNS Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

Mon 04 Jul 2016 11:56:06 AM UTC, comment #1: 

Fixed by checking "entry->state == DNS_STATE_DONE" before setting to UNUSED.

Simon Goldschmidt <goldsimon>
Group administrator
Mon 04 Jul 2016 11:32:08 AM UTC, original submission:  

... because dns_correct_response sets them to DNS_STATE_UNUSED if ttl==0 without checking if the found-callback reused them by calling into dns again.

Simon Goldschmidt <goldsimon>
Group administrator

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (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.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-07-04 goldsimon StatusIn Progress Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code