[erlang-patches] SNMP/VACM: bugfix for vacmViewTreeFamilyMask
Thu Aug 2 13:15:06 CEST 2012
Thank you for your contribution your branch has been included in 'pu'
On 08/01/2012 11:30 AM, Stefan Zegenhagen wrote:
> Dear all,
> 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.
> Kind regards,
> erlang-patches mailing list
/Henrik Nord Erlang/OTP
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-patches