patchlwIP - A Lightweight TCP/IP stack - Patches: patch #8789, dns: Fix dns_alloc_pcb for reuse...

 
 

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

patch #8789: dns: Fix dns_alloc_pcb for reuse an existing one case

Submitter:  Axel Lin <axellin>
Submitted:  Fri 13 Nov 2015 08:05:35 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  goldsimon Open/Closed:  Closed
Planned Release:  None

Mon 16 Nov 2015 08:10:48 AM UTC, comment #1: 

Fixed, thanks for the patch.

Simon Goldschmidt <goldsimon>
Group administrator
Fri 13 Nov 2015 08:05:35 AM UTC, original submission:  

The logic to use an already existing pcb is wrong because the idx never
advanced in the for loop, so it keep checking the same dns_pcbs[idx] for
each loop iteration. Fix it.

Axel Lin <axellin>
Group Member

 

(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 goldsimon (Posted a comment)
  • -email is unavailable- added by axellin (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-11-16 goldsimon StatusNone Done
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2015-11-13 axellin Attached File- Added 0001-dns-Fix-dns_alloc_pcb-for-reuse-an-existing-one-case.patch, #35444

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code