buglwIP - A Lightweight TCP/IP stack - Bugs: bug #40050, SNMP problem with MIB arrays >...

 
 

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

bug #40050: SNMP problem with MIB arrays > 255

Submitted by:  Robert Reither <nathan2225>
Submitted on:  Tue 17 Sep 2013 10:01:35 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

Thu 20 Feb 2014 09:14:34 PM UTC, comment #1:

Done, thanks.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Tue 17 Sep 2013 10:01:35 AM UTC, original submission:

file: src\core\snmp\mib_structs.c

If MIB array size grows over 255, some index variables used in
snmp_expand_tree() get an overflow.

I changed 3 'u8_t j' to u16_t and now it works fine
lines in GIT head:
740, 784, 983

because i'm using a rather old lwip code base, i didn't try to post a diff.

Greetings
Nathan2225

Robert Reither <nathan2225>

 

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 nathan2225 (Submitted the item)
  • -unavailable- added by nathan2225 (SNMP array handling range overflow)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 20 Feb 2014 09:14:34 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
    Tue 17 Sep 2013 10:01:35 AM UTCnathan2225Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1