buglwIP - A Lightweight TCP/IP stack - Bugs: bug #13807, slipif_input() garbles large...

 
 

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

bug #13807: slipif_input() garbles large inbound datagrams

Submitted by:  None
Submitted on:  Thu 14 Jul 2005 08:48:04 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Leon Woestenberg <likewise>
Open/Closed: ClosedPlanned Release: None
lwIP version: None

Thu 14 Jul 2005 08:48:04 PM UTC, original submission:

The implementation of slipif_input() assumes that pbuf_alloc() returns a single pbuf, while under my configuration it returns a chain of two pbufs.

This results in the datagram passed to netif->input() having runs of zeros (the uninitialized second pbuf in each chain) inserted amidst the data.

Attached are two patches, the first fixing the indentation problems in slipif.c, and the second fixing the bug just described.

Anonymous

 

Attached Files
file #3232:  slipif-bugfix.diff added by None (335B - application/octet-stream - Fix described bug)
file #3231:  slipif-whitespace.diff added by None (4KiB - application/octet-stream - Fix indentation of slipif.c)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 17 Jul 2005 03:13:55 PM UTClikewiseStatusNone=>Fixed
  Assigned toNone=>likewise
  Open/ClosedOpen=>Closed
Thu 14 Jul 2005 08:49:04 PM UTCNoneAttached File-=>Added slipif-bugfix.diff, #2712
Thu 14 Jul 2005 08:48:05 PM UTCNoneAttached File-=>Added slipif-whitespace.diff, #2711

Back to the top


Powered by Savane 3.1-cleanup1