multipath-tools: valgrind tests & fixes
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest10 patches 1 replyIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | multipath-tools: Makefile.inc: fix compilation with gcc 4.xMakefile.inc | +1 | 0 replies | |
| 2/10 | multipath-tools: Makefile: add "valgrind-test" targetMakefile tests/ tests/ | +22 | 0 replies | |
| 3/10 | multipath-tools tests: fix memory leak in alias testtests/ | +2 | 0 replies | |
| 4/10 | multipath-tools tests: fix memory leak in hwtable testtests/ | +4 | 0 replies | |
| 5/10 | multipath-tools tests: fix memory leak in vpd testtests/ | +8 | 0 replies | |
| 6/10 | libmultipath: fix memory leak in ble handlerslibmultipath/ | +9 | 0 replies | |
| 7/10 | libmultipath: fix enable_foreign memory leaklibmultipath/ multipath/ | +3 | 0 replies | |
| 8/10 | libmultipath: fix invalid memory access in is_token()libmultipath/ | +3 | 0 replies | |
| 9/10 | libmultipath: alloc_strvec: NULL-initialize strvec elementslibmultipath/ | +1 | 0 replies | |
| 10/10 | libmultipath: validate_config_strvec(): avoid out-of-bounds accesslibmultipath/ | +7 | 0 replies |
Reviews trailers per patch
None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Benjamin Marzinski |
|---|---|
| Series | R-b |
| 1/10 | |
| 2/10 | |
| 3/10 | |
| 4/10 | |
| 5/10 | |
| 6/10 | |
| 7/10 | |
| 8/10 | |
| 9/10 | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/10] multipath-tools: valgrind tests & fixes
From: Martin Wilck <[email protected]>
Hi Christophe and Ben,
this series adds a make target to run unit tests under valgrind, and fixes the issues I found using this test target.
It contains the patches I sent yesterday ([PATCH 1/5] multipath-tools tests:
fix memory leak in alias test), but in a different order / numbering, which seems more appropriate now.
Regards,
Martin
Martin Wilck (10):
multipath-tools: Makefile.inc: fix compilation with gcc 4.x
multipath-tools: Makefile: add "valgrind-test" target multipath-tools tests: fix memory leak in alias test multipath-tools tests: fix memory leak in hwtable test multipath-tools tests: fix memory leak in vpd test
libmultipath: fix memory leak in ble handlers
libmultipath: fix enable_foreign memory leak
libmultipath: fix invalid memory access in is_token()
libmultipath: alloc_strvec: NULL-initialize strvec elements
libmultipath: validate_config_strvec(): avoid out-of-bounds access
Makefile | 3 +++ Makefile.inc | 2 +- libmultipath/config.c | 2 ++ libmultipath/dict.c | 12 +++++++++--- libmultipath/parser.c | 17 +++++++++++------ multipath/main.c | 2 +- tests/Makefile | 13 +++++++++++-- tests/README.md | 8 ++++++++ tests/alias.c | 2 ++ tests/hwtable.c | 4 ++++ tests/vpd.c | 18 ++++++++---------- 11 files changed, 60 insertions(+), 23 deletions(-)
Signature · 1 line
2.28.0