[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #51578] snmp: wrong value_len decoded for platforms wh
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #51578] snmp: wrong value_len decoded for platforms where sizeof(u32_t) != sizeof(u32_t*) |
Date: |
Wed, 26 Jul 2017 02:39:39 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36 |
URL:
<http://savannah.nongnu.org/bugs/?51578>
Summary: snmp: wrong value_len decoded for platforms where
sizeof(u32_t) != sizeof(u32_t*)
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: goldsimon
Submitted on: Wed 26 Jul 2017 06:39:37 AM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: In Progress
Privacy: Public
Assigned to: goldsimon
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
lwIP version: git head
_______________________________________________________
Details:
In snmp_vb_enumerator_get_next(), 'varbind->value_len' sometimes uses
'sizeof(type-pointer)' instead of 'sizeof(type)'.
This only fails for non-32 bit platforms, so most obviously, this has not been
tested on such platforms since the bug has been introduced (with 2.0.0).
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?51578>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #51578] snmp: wrong value_len decoded for platforms where sizeof(u32_t) != sizeof(u32_t*),
Simon Goldschmidt <=