Page MenuHomeFreeBSD

bthidd: declare appropriate size bitstring
ClosedPublic

Authored by rlibby on Jul 6 2024, 5:11 PM.
Tags
None
Referenced Files
F109816158: D45900.diff
Sun, Feb 9, 9:58 PM
Unknown Object (File)
Sat, Jan 18, 5:57 PM
Unknown Object (File)
Sun, Jan 12, 11:30 AM
Unknown Object (File)
Dec 6 2024, 8:42 PM
Unknown Object (File)
Dec 3 2024, 12:49 PM
Unknown Object (File)
Nov 22 2024, 8:29 AM
Unknown Object (File)
Nov 9 2024, 1:48 PM
Unknown Object (File)
Oct 18 2024, 8:40 PM
Subscribers
None

Details

Summary

The bitstring declared on the stack was much too large, and gcc noticed
that we weren't memset()ing all of it. This one was harmless.

Reported by: GCC -Wmemset-elt-size

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

rlibby requested review of this revision.Jul 6 2024, 5:11 PM
rlibby created this revision.
This revision is now accepted and ready to land.Jul 8 2024, 4:32 PM
This revision was automatically updated to reflect the committed changes.