HomeFreeBSD

bsnmp: Don't overrun privkey buffer by copying wrong size

Description

bsnmp: Don't overrun privkey buffer by copying wrong size

The 'priv_key' array is SNMP_PRIV_KEY_SIZ bytes, not SNMP_AUTH_KEY_SIZ.

Reported by: Coverity
CIDs: 1008326, 1009675
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
cemAuthored on
Parents
rS299464: libcrypto: add "Do not modify" comment to generated source files
Branches
Unknown
Tags
Unknown