diff options
| author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2025-11-17 22:54:07 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2025-11-17 22:54:07 +0000 |
| commit | 640205bc22c8b2bd31c766f4d0c409c183a8b8dc (patch) | |
| tree | 140b4ae9ceff6d86838bfdd762ce9ffe2e8ffb85 /sys/pc98/boot/biosboot/(developers-only) | |
| parent | ff9f76a206c80c263050816735d537a151ee2999 (diff) | |
cfg80211_chandef_create() gets passed a pointer to a cfg80211_chan_def.
It seems that several users are passing in an uninitialized variable
from the stack and expect cfg80211_chandef_create() to initialize it.
Run memset() on the struct, which for all callers currently seems to do
the right thing, to avoid later accesses to uninitialized struct members
like "punctured".
Reported by: CI (gcc build)
MFC after: 3 days
Sponsonred by: The FreeBSD Foundation
Diffstat (limited to 'sys/pc98/boot/biosboot/(developers-only)')
0 files changed, 0 insertions, 0 deletions
