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

Submitter:  Robert Reither <nathan2225>
Submitted:  Tue 17 Sep 2013 10:01:35 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

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

Done, thanks.

Simon Goldschmidt <goldsimon>
Group administrator
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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-20 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2013-09-17 nathan2225 Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code