buglwIP - A Lightweight TCP/IP stack - Bugs: bug #19699, Bug in SNMP ASN1 decode; submitted...

 
 

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

bug #19699: Bug in SNMP ASN1 decode; submitted patch

Submitter:  Jared Momose <jmomose>
Submitted:  Wed 25 Apr 2007 07:27:22 PM UTC
   
 
Category:  UDP Severity:  2 - Minor
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  1.2.0

Jump to the original submission

Mon 20 Apr 2009 08:57:30 AM UTC, comment #6: 

I've opened a task for this: we don't know how the status is for SNMP on big-endian, but this bug is fixed.

task #9332: Test SNMP on big-endian

Simon Goldschmidt <goldsimon>
Group administrator
Sat 09 Jun 2007 10:40:18 AM UTC, comment #5: 

Matching patch item (http://savannah.nongnu.org/patch/?5896) is check in and closed...

Frédéric Bernon <fbernon>
Group Member
Mon 21 May 2007 04:42:46 PM UTC, comment #4: 

Me too. Although this looks like it needs some more attention...

Simon Goldschmidt <goldsimon>
Group administrator
Mon 21 May 2007 04:37:05 PM UTC, comment #3: 

Agree with Jonathan

Frédéric Bernon <fbernon>
Group Member
Fri 27 Apr 2007 12:43:01 AM UTC, comment #2: 

Wouldn't it be better to check the patch in now, but leave this bug report open so the opportunity for improvement isn't forgotten about.

Jonathan Larmour <jifl>
Group Member
Thu 26 Apr 2007 07:19:33 AM UTC, comment #1: 

This could well be a problem, only tested this on little-endian archs. Maybe there are more routines in there not big endian proof.

But I don't like the #ifdef "solution", I'd prefer a bit cleaner, proper C solution.

Need to think a bit more about that, or find someone to continue and improve my attempts.

Christiaan Simons <christiaans>
Group Member
Wed 25 Apr 2007 07:27:22 PM UTC, original submission:  

There is a bug in the SNMP ASN1 decode routine on Big Endian systems. Attached is a patch that fixes the problem.

Jared Momose <jmomose>

 

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

Attached Files
file #12597:  asn1_dec.c.patch added by jmomose (413B - text/plain - Patch file)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by kieranm (Updated the item)
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by fbernon (Posted a comment)
  • -email is unavailable- added by jifl (Posted a comment)
  • -email is unavailable- added by christiaans (Posted a comment)
  • -email is unavailable- added by jmomose (Submitted the item)
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2009-04-20 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2007-08-29 kieranm Severity3 - Normal 2 - Minor
    2007-04-25 jmomose Attached File- Added asn1_dec.c.patch, #12597

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code