aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/AnalysisConsumer.cpp
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2026-09-01 16:07:09 +0000
committerMark Johnston <markj@FreeBSD.org>2026-09-02 13:28:51 +0000
commit7cb1a76f88158fb690418336b736e66c238cd4f7 (patch)
treeca1912c1f7687eb7185e217b7aa6c312c1e57f41 /lib/Checker/AnalysisConsumer.cpp
parent4aea6ea2eb400737837ff8d22c25688f88c7966c (diff)
devstat: Fix a kernel stack disclosureHEADmain
The 16-byte "device_name" field was not zero-filled, so could contain uninitialized stack data. Zero the whole struct, as that's the prevailing pattern for this kind of conversion code, and it's more robust in the face of future revisions to struct devstat. Reviewed by: olce, kib Reported by: Reo Shiseki Fixes: a11d132f6c62 ("devstat: Provide 32-bit compatibility") MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D59309
Diffstat (limited to 'lib/Checker/AnalysisConsumer.cpp')
0 files changed, 0 insertions, 0 deletions