lwIP - A Lightweight TCP/IP stack - Bugs: bug #43790, Sending octet string of Length...
You are not allowed to post comments on this tracker with your current authentication level.
bug #43790: Sending octet string of Length >255 from SNMP agent
Submitter: | Manoj Kumar <mano49j> | ||
Submitted: | Wed 10 Dec 2014 07:56:43 AM UTC | ||
Category: | pbufs | Severity: | 3 - Normal |
Item Group: | Faulty Behaviour | Status: | Fixed |
Privacy: | Public | Assigned to: | goldsimon |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | 1.4.0 |
Jump to the original submission
Thu 20 Aug 2015 06:25:15 AM UTC, comment #7: |
Simon Goldschmidt <goldsimon> |
Wed 19 Aug 2015 07:07:32 PM UTC, comment #6: Converted files #32701 and #32702 into a patch against curret head. |
Simon Goldschmidt <goldsimon> |
Mon 22 Dec 2014 10:42:52 AM UTC, comment #5: Good, Welcome.
|
Manoj Kumar <mano49j> |
Mon 22 Dec 2014 10:06:20 AM UTC, comment #4: Yes, it's helpful, thanks. However, there are now places where you pass 'value_len' (which is now an u16_t) to a function that takes an u8_t, which can produce faulty behaviour. I'll try to catch these... |
Simon Goldschmidt <goldsimon> |
Mon 22 Dec 2014 08:16:40 AM UTC, comment #3: Hello simon,
|
Manoj Kumar <mano49j> |
Mon 22 Dec 2014 07:50:12 AM UTC, comment #2: Great to hear you solved it. Could you share your changes with us so that this might possibly be fixed in the lwIP sources for other users, too? |
Simon Goldschmidt <goldsimon> |
Mon 22 Dec 2014 06:06:14 AM UTC, comment #1: I found a solution...!!!
|
Manoj Kumar <mano49j> |
Wed 10 Dec 2014 07:56:43 AM UTC, original submission:
|
Manoj Kumar <mano49j> |
Depends on the following items: None found
Items that depend on this one: None found
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 9 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2015-08-20 | goldsimon | Status | None | Fixed | |
Assigned to | None | goldsimon | |||
Open/Closed | Open | Closed | |||
Summary | Sending octet string of Length >255 from agent. | Sending octet string of Length >255 from SNMP agent | |||
2015-08-19 | goldsimon | Attached File | - | Added snmp_longstrings.patch, #34680 | |
2015-03-23 | goldsimon | Planned Release | 1.5.0 | ||
2014-12-22 | mano49j | Attached File | - | Added msg_in.c, #32701 | |
Attached File | - | Added snmp_msg.h, #32702 | |||
2014-12-10 | mano49j | Carbon-Copy | - | Added -email is unavailable- |
Powered by Savane 3.13-f8d8.
Corresponding source code
Fixed, thanks for the patch.
In snmp_asn1.h/asn1_enc.c, snmp_asn1_enc_oid_cnt() and snmp_asn1_enc_oid() had to be adapted (parameter ident_len is now an u16_t, too). Not all compilers seem to warn about this :-(