No, I didn't apply this patch yet. Instead, SVN trunk (5.5-to-be) has a different fix for this issue from 2007 (r16436). It uses SOLARIS_HAVE_RFC4293_SUPPORT instead of LEGACY_MIB_SIZE to decide whether to set req->len=1.
5.4.x and earlier have no such fix at all.
@apersson: What define is more appropriate? I'll make sure we use that in all branches, then.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
LEGACY_MIB is more appropriate, as it is only defined on S10U4+, which is the only time we
need to set req->len = 1. Using SOLARIS_HAVE_RFC4293_SUPPORT would set the value on
OpenSolaris systems (which is harmless, but still).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the patch! It has been applied to the 5.2.x, 5.3.x and 5.4.x code branches and the main development tree, and will appear in future releases of the Net-SNMP package.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
tanders has apparently applied this patch already, though he didn't say so here. So I'm saying it and closing it :-)
No, I didn't apply this patch yet. Instead, SVN trunk (5.5-to-be) has a different fix for this issue from 2007 (r16436). It uses SOLARIS_HAVE_RFC4293_SUPPORT instead of LEGACY_MIB_SIZE to decide whether to set req->len=1.
5.4.x and earlier have no such fix at all.
@apersson: What define is more appropriate? I'll make sure we use that in all branches, then.
LEGACY_MIB is more appropriate, as it is only defined on S10U4+, which is the only time we
need to set req->len = 1. Using SOLARIS_HAVE_RFC4293_SUPPORT would set the value on
OpenSolaris systems (which is harmless, but still).
SVN Rev. 17554.
Thanks for the patch! It has been applied to the 5.2.x, 5.3.x and 5.4.x code branches and the main development tree, and will appear in future releases of the Net-SNMP package.