buglwIP - A Lightweight TCP/IP stack - Bugs: bug #51578, snmp: wrong value_len decoded for...

 
 

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

bug #51578: snmp: wrong value_len decoded for platforms where sizeof(u32_t) != sizeof(u32_t*)

Submitted by:  Simon Goldschmidt <goldsimon>
Submitted on:  Wed 26 Jul 2017 06:39:37 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

Wed 26 Jul 2017 06:41:29 AM UTC, comment #1:

Fixed.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Wed 26 Jul 2017 06:39:37 AM UTC, original submission:

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).

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.

 

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 (Submitted the item)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 26 Jul 2017 06:41:29 AM UTCgoldsimonStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1