lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #43389] dns_recv() res_idx calculate error.


From: hanhui
Subject: [lwip-devel] [bug #43389] dns_recv() res_idx calculate error.
Date: Thu, 09 Oct 2014 07:38:58 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.149 Safari/537.36

URL:
  <http://savannah.nongnu.org/bugs/?43389>

                 Summary: dns_recv() res_idx calculate error.
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: hanhui03
            Submitted on: Thu 09 Oct 2014 07:38:57 AM GMT
                Category: DNS
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: git head

    _______________________________________________________

Details:

Hi Simon:

dns_recv()
{
    ...

<line:1086>
    res_idx = SIZEOF_DNS_ANSWER + htons(ans.len);
should be:
    res_idx += SIZEOF_DNS_ANSWER + htons(ans.len);
}

Han.hui




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?43389>

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




reply via email to

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