lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #8789] dns: Fix dns_alloc_pcb for reuse an existing


From: Axel Lin
Subject: [lwip-devel] [patch #8789] dns: Fix dns_alloc_pcb for reuse an existing one case
Date: Fri, 13 Nov 2015 08:05:36 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36

URL:
  <http://savannah.nongnu.org/patch/?8789>

                 Summary: dns: Fix dns_alloc_pcb for reuse an existing one
case
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: axellin
            Submitted on: Fri 13 Nov 2015 08:05:35 AM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

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.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 13 Nov 2015 08:05:35 AM GMT  Name:
0001-dns-Fix-dns_alloc_pcb-for-reuse-an-existing-one-case.patch  Size: 1019B  
By: axellin

<http://savannah.nongnu.org/patch/download.php?file_id=35444>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?8789>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]