mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
Dan has reported two uses of uninitialized variables in __ris_msmon_read(). If an unknown monitor type is encountered then the local variable, now, is used uninitialized. Fix this by returning early on error. If a non-mbwu monitor is being read then the local variable, overflow, is not initialized but still read. Initialize it to false as overflow is not relevant for csu monitors. Fixes: |
History
|
|
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| mpam_devices.c | ||
| mpam_internal.h | ||
| test_mpam_devices.c | ||