Amiga RDB partition support fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest2 patches 24 repliesIn review
- v6 posting 2/20 of 2 patches 0 repliesSuperseded
- v6 posting 1/22 patches 2 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 | 2 patches | 9 replies | Superseded | |
| v4 | 2 patches | 2 replies | Superseded |
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | block: fix signed int overflow in Amiga partition supportblock/ | +5 | 0 replies | |
| 2/2 | block: add overflow checks for Amiga partition supportblock/ | +89 | 23 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Geert Uytterhoeven | Martin Steigerwald |
|---|---|---|
| 1/2 | R-b | T-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v7 0/2] Amiga RDB partition support fixes
(hopefully) final version of the Amiga RDB partition table patch follows.
I've split off the part fixing the incorrect use of signed int for partition start address and size as separate patch. It does fix the bug that Martin Steigerwald reported six years ago for a 2 TB disk. I have tested this patch with the identical RDB partition data that Martin saw the bug with. I have incorporated Andreas' feedback on proper use of casts to avoid integer overflow in this version.
The simple fix still leaves ample room for overflows in calculating start address and size of a RDB partition, though such overflows should only be seen in rather unusual cases. To address these potential overflows, checks are added in the second patch of this series. Comments by Geert have been addressed in full.
Both patches now reviewed by Geert - Reviewed-by tags added.
Cheers,
Michael