[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #40050] SNMP problem with MIB arrays > 255

From: Robert Reither
Subject: [lwip-devel] [bug #40050] SNMP problem with MIB arrays > 255
Date: Tue, 17 Sep 2013 10:01:36 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.2; .NET4.0C; .NET4.0E)


                 Summary: SNMP problem with MIB arrays > 255
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: nathan2225
            Submitted on: Di 17 Sep 2013 10:01:35 GMT
                Category: None
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: git head



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.



Reply to this item at:


  Nachricht gesendet von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]