UBI: Coverity-inspired fixes
Status from this message: Applied, thanks a lot Brian!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | UBI: account for bitflips in both the VID header and datadrivers/ | +1 | 0 replies | |
| 2/5 | UBI: fix out of bounds writedrivers/ | +2 | 0 replies | |
| 3/5 | UBI: initialize LEB number variabledrivers/ | +1 | 0 replies | |
| 4/5 | UBI: fix check for "too many bytes"drivers/ | +1 | 1 reply | |
| 5/5 | UBI: align comment for readabilitydrivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] UBI: Coverity-inspired fixes
Except for the last one, these were inspired by Coverity Scan results.
These fixes have barely been tested, but they are pretty straightforward logically. As they've been sitting in my dust pile too long, I thought I'd at least get them out there.
Brian Norris (5):
UBI: account for bitflips in both the VID header and data
UBI: fix out of bounds write
UBI: initialize LEB number variable
UBI: fix check for "too many bytes"
UBI: align comment for readability
drivers/mtd/ubi/attach.c | 2 +- drivers/mtd/ubi/cdev.c | 2 +- drivers/mtd/ubi/eba.c | 3 ++- drivers/mtd/ubi/ubi.h | 2 +- drivers/mtd/ubi/wl.c | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-)
Signature · 1 line
2.1.0