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

Submitted by:  Simon Goldschmidt <goldsimon>
Submitted on:  Mon 04 Jul 2016 11:32:08 AM UTC  
 
Category: DNSSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned 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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goldsimon (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 04 Jul 2016 11:56:06 AM UTCgoldsimonStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1