Fix integer handling issues in k230_gsdma and k230_decomp_gzip
Status from this message: Applied to riscv-to-apply.next
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 2 repliesApplied
- v25 patches 8 repliesSuperseded
- v13 patches 6 repliesSuperseded
Changes in v3 from the cover letter
- Separate global and channel register handling to prevent unsigned address underflow when calculating GSDMA channel offsets.
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | hw/misc: fix calculating output address overflow in k230_decomp_gziphw/ | +1 | 0 replies | |
| 2/5 | hw/misc: fix calculating input address overflow in k230_decomp_gziphw/ | +1 | 0 replies | |
| 3/5 | hw/misc: use hwaddr for the k230_decomp_gzip input addresshw/ | +1 | 0 replies | |
| 4/5 | qtest: fix k230_decomp_gzip test integer handling issuestests/ | +1 | 0 replies | |
| 5/5 | hw/dma: fix k230_gsdma integer handling issueshw/ | +42 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Alistair Francis |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/5] Fix integer handling issues in k230_gsdma and k230_decomp_gzip
Hi, all
This series fixes integer overflow, truncation, and underflow issues reported by Coverity in the K230 GZIP decompressor, its qtest, and GSDMA.
https://lore.kernel.org/qemu-devel/[email protected]/
Thanks.
The patchv1 series is posted in:
https://lore.kernel.org/qemu-devel/[email protected]/
Changes in v2->v3:
- Separate global and channel register handling to prevent unsigned address underflow when calculating GSDMA channel offsets.
Tao Ding (5):
hw/misc: fix calculating output address overflow in k230_decomp_gzip hw/misc: fix calculating input address overflow in k230_decomp_gzip hw/misc: use hwaddr for the k230_decomp_gzip input address
qtest: fix k230_decomp_gzip test integer handling issues hw/dma: fix k230_gsdma integer handling issues
hw/dma/k230_gsdma.c | 84 ++++++++++++++--------------- hw/misc/k230_decomp_gzip.c | 6 +-- tests/qtest/k230-decomp-gzip-test.c | 2 +- 3 files changed, 46 insertions(+), 46 deletions(-)
base-commit: 0a1ebd448b38afaa118597cbb633dbec24ef74d3
Signature · 1 line
2.43.0