diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2026-09-01 16:07:09 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2026-09-02 13:28:51 +0000 |
| commit | 7cb1a76f88158fb690418336b736e66c238cd4f7 (patch) | |
| tree | ca1912c1f7687eb7185e217b7aa6c312c1e57f41 /lib/Checker/AnalysisConsumer.cpp | |
| parent | 4aea6ea2eb400737837ff8d22c25688f88c7966c (diff) | |
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
