buglwIP - A Lightweight TCP/IP stack - Bugs: bug #43389, dns_recv() res_idx calculate error.

 
 

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

bug #43389: dns_recv() res_idx calculate error.

Submitted by:  hanhui <hanhui03>
Submitted on:  Thu 09 Oct 2014 07:38:57 AM UTC  
 
Category:  DNS Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  Simon Goldschmidt <goldsimon>
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

Thu 09 Oct 2014 08:13:16 AM UTC, comment #1: 

Fixed, thanks for reporting.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Thu 09 Oct 2014 07:38:57 AM UTC, original submission:  

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

hanhui <hanhui03>

 

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 (Posted a comment)
  • -email is unavailable- added by hanhui03 (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-10-09 goldsimon StatusNone => Fixed
        Assigned toNone => goldsimon
        Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.5