tests: Fix some minor Coverity issues
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | tests/qtest/bios-tables-test: Check for dup2() failuretests/ | +6 | 1 reply | |
| 2/6 | tests/qtest/e1000e-test: Check qemu_recv() succeededtests/ | +2 | 1 reply | |
| 3/6 | tests/qtest/hd-geo-test: Fix checks on mkstemp() return valuetests/ | +2 | 2 replies | |
| 4/6 | tests/qtest/pflash-cfi02-test: Avoid potential integer overflowtests/ | +1 | 2 replies | |
| 5/6 | tests/qtest/tpm-tests: Remove unnecessary NULL checkstests/ | +4 | 2 replies | |
| 6/6 | tests/unit/test-vmstate: Assert that dup() and mkstemp() succeedtests/ | +2 | 2 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Philippe Mathieu-Daudé | Stefan Berger |
|---|---|---|
| 1/6 | R-b | |
| 2/6 | R-b | |
| 3/6 | R-b | R-b |
| 4/6 | R-b | R-b |
| 5/6 | R-b | R-b |
| 6/6 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] tests: Fix some minor Coverity issues
We have a backlog of Coverity issues in tests (because we only started running the scan on test code when we switched to meson and started building the test code in "make" rather than only in "make check"). This series fixes some of the easier ones. There's nothing exciting here, it's all little nits.
thanks
-- PMM
Peter Maydell (6):
tests/qtest/bios-tables-test: Check for dup2() failure tests/qtest/e1000e-test: Check qemu_recv() succeeded tests/qtest/hd-geo-test: Fix checks on mkstemp() return value tests/qtest/pflash-cfi02-test: Avoid potential integer overflow tests/qtest/tpm-tests: Remove unnecessary NULL checks tests/unit/test-vmstate: Assert that dup() and mkstemp() succeed
tests/qtest/bios-tables-test.c | 8 ++++++-- tests/qtest/e1000e-test.c | 3 ++- tests/qtest/hd-geo-test.c | 4 ++-- tests/qtest/pflash-cfi02-test.c | 2 +- tests/qtest/tpm-tests.c | 12 ++++-------- tests/unit/test-vmstate.c | 2 ++ 6 files changed, 17 insertions(+), 14 deletions(-)
Signature · 1 line
2.20.1