buglwIP - A Lightweight TCP/IP stack - Bugs: bug #28829, DHCP parse option error

 
 

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

bug #28829: DHCP parse option error

Submitted by:  hanhui <hanhui03>
Submitted on:  Sat 06 Feb 2010 03:55:12 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: CVS Head

Tue 09 Feb 2010 11:41:59 AM UTC, comment #3:

I didn't quite understand what you meant with "is error" but after testing it myself I understood.

Fixed, thanks for reporting!

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Mon 08 Feb 2010 07:16:06 AM UTC, comment #2:

DNS options with 8 bytes of parameters (two IP addresses).

hanhui <hanhui03>
Mon 08 Feb 2010 07:10:42 AM UTC, comment #1:

Could you tell me for which option does not work for you with that? I testet with multiple DNS servers, but I did not yet test all available options...

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Sat 06 Feb 2010 03:55:12 PM UTC, original submission:

dhcp.c
funtion dhcp_parse_reply() if option len > 4, val_offset is error. so pbuf_copy_partial() always get the same result.

line 1430: decode_len -= 4;
line 1431: decode_idx++;
++ val_offset += 4;
goto decode_next;

hanhui <hanhui03>

 

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 (Posted a comment)
  • -unavailable- added by hanhui03 (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 09 Feb 2010 11:41:59 AM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1