mirror of https://github.com/torvalds/linux.git
Add an array size limit to the for-loop to be sure we don't try
to reference a fw_version string off the end of the fw info names
array. We know that our firmware only has a limited number
of firmware slot names, but we shouldn't leave this unchecked.
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| adminq.c | ||
| auxbus.c | ||
| core.c | ||
| core.h | ||
| debugfs.c | ||
| dev.c | ||
| devlink.c | ||
| fw.c | ||
| main.c | ||