ihex: add some bounds checking to firmware parsing
Status from this message: Applied, thank you.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | media: gspca: Add bounds checking to firmware parserdrivers/ | +8 | 0 replies | |
| 2/3 | watchdog: ziirave_wdt: check record length in ziirave_firm_verify()drivers/ | +3 | 1 reply | |
| 3/3 | Input: ims-pcu - Check record size in ims_pcu_flash_firmware()drivers/ | +6 | 3 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Guenetr Roeck |
|---|---|
| 1/3 | |
| 2/3 | R-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] ihex: add some bounds checking to firmware parsing
These three patches go to different subsystems so hopefully the individual maintainers can apply them. I can resend them as individual patches if that's easier.
The ihex firmware code is a list of records of various lengths. The ihex code ensures that total length of the records doesn't read beyond the end of the fw->data[], however the parsers need to check that individual records are not too large.
Dan Carpenter (3):
media: gspca: Add bounds checking to firmware parser
watchdog: ziirave_wdt: check record length in ziirave_firm_verify()
Input: ims-pcu - Check record size in ims_pcu_flash_firmware()
drivers/input/misc/ims-pcu.c | 6 ++++++ drivers/media/usb/gspca/vicam.c | 10 ++++++++-- drivers/watchdog/ziirave_wdt.c | 3 +++ 3 files changed, 17 insertions(+), 2 deletions(-)
Signature · 1 line
2.47.2