elf2dmp: Fix minor Coverity nits
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 3 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | elf2dmp: Check curl_easy_setopt() return valuecontrib/ | +10 | 1 reply | |
| 2/2 | elf2dmp: Fail cleanly if PDB file specifies zero block_sizecontrib/ | +4 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Peter Maydell | Viktor Prutyanov |
|---|---|---|
| 1/2 | Inspired-by | T-b R-b T-b |
| 2/2 | R-b T-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] elf2dmp: Fix minor Coverity nits
This is a respin of Peter Maydell series, with slightly different logic on the first patch. Quoting v1 cover [*]:
Coverity complains about a couple of minor issues in elf2dmp:
* we weren't checking the return value from curl_easy_setopt()
* we might divide by zero if presented with a corrupt PDB file
This patchseries fixes those.
Viktor Prutyanov tested the patch but didn't provided a formal Tested-by tag, so I haven't included it in the patches.
[*] https://lore.kernel.org/qemu-devel/[email protected]/
Peter Maydell (2):
elf2dmp: Check curl_easy_setopt() return value
elf2dmp: Fail cleanly if PDB file specifies zero block_size
contrib/elf2dmp/download.c | 22 ++++++++++------------ contrib/elf2dmp/pdb.c | 4 ++++ 2 files changed, 14 insertions(+), 12 deletions(-)
Signature · 1 line
2.31.1