[erlang-patches] SNMP/VACM: bugfix for vacmViewTreeFamilyMask
Mon Aug 6 16:28:47 CEST 2012
> > the implementation of SNMP-VIEW-BASED-ACM.mib assumes that the input for
> > vacmViewTreeFamilyMask is an OID consisting of 1's and 0's only to form
> > the mask. However, the MIB states that the input should be a bitstring.
> > The OID representation of the mask is useful in the code as it speeds up
> > time-critical code paths when checking access permissions for EACH SNMP
> > access. Reading/writing the view mask objects is less time-critical.
> > Therefore, to fix the issue, convert between OID representation and
> > bitstring when the vacmViewTreeFamilyMask objects are accessed. This is
> > done by the patch attached to this e-mail.
I'm very sorry for the troubles that I am causing but it seems that the
previous version of the patch did more than it should: the OID-bitstring
conversion was also applied to other tables in the same MIB on
The version of the patch that is attached to this e-mail restricts the
OID-bitstring conversion to vacmViewTreeFamilyMask alone.
Dr. Stefan Zegenhagen
Garbsener Landstr. 10
Tel: +49 511 277-2734
Fax: +49 511 277-2709
*Synchronize the Ethernet*
General Managers: Dipl. Ing. Juergen Schroeder, Dr. Josef Gfrerer -
Legal Form: GmbH, Registered office: Hannover, HRB 202442, Amtsgericht
Hannover; Ust-Id: DE257551767.
Please consider the environment before printing this message.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4709 bytes
Desc: not available
More information about the erlang-patches