HomeFreeBSD

snd_hda(4): Don't pass bogus sizeof()s to unused sysctl arg2 parameter

Description

snd_hda(4): Don't pass bogus sizeof()s to unused sysctl arg2 parameter

None of the sysctl handlers in hdaa use the arg2 parameter, so just pass zero
instead. Additionally, the sizes being passed in were suspect (size of the
pointer rather than the value).

Reported by: Coverity
CIDs: 1007694, 1009679
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
cemAuthored on
Parents
rS299502: nss/gethostby_test: fix broken vector iteration of gethostbyaddr h_aliases
Branches
Loading...
Tags
Loading...