HomeFreeBSD

libctf: Appease Coverity overrun warnings

Description

libctf: Appease Coverity overrun warnings

Rather than zeroing and reading into the a smaller union member the full
union size, just zero and read directly into the union.

No functional change intended.

Reported by: Coverity
Sponsored by: Dell EMC Isilon

Details

Provenance
cemAuthored on Mar 26 2018, 9:57 PM
Parents
rG19d0de8d6435: cryptodev: Match intent for enc_xform ciphers with blocksize != ivsize
Branches
Unknown
Tags
Unknown

Event Timeline