Memory issues found by coverity
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest6 patches 3 repliesIn review
- v36 patches 2 repliesSuperseded
- v26 patches 5 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 5 patches | 11 replies | Superseded |
Changes in v4 from the cover letter
0003: Handle NULL returns from strdup(). Suggested by Martin Wilck
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | multipathd: don't fail to remove path once the map is removedlibmultipath/ multipathd/ | +10 | 0 replies | |
| 2/6 | multipathd: remove duplicate orphan_paths in flush_mapmultipathd/ | +0 | 0 replies | |
| 3/6 | multipathd: fix ev_remove_path return code handlingmultipathd/ multipathd/ multipathd/ | +57 | 3 replies | |
| 4/6 | multipath: free vectors in configuremultipath/ | +6 | 0 replies | |
| 5/6 | kpartx: Don't leak memory when getblock returns NULLkpartx/ | +2 | 0 replies | |
| 6/6 | multipathd: don't rescan_path on wwid change in uev_update_pathmultipathd/ | +0 | 0 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Martin Wilck |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [dm-devel] [PATCH v4 0/6] Memory issues found by coverity
This is collection of issues found by coverity. The first three patches deal with ev_remove_path() removing the path, but returning failure, causing a use-after-free error. The next two patches fix memory leaks. The final patch removes an unnecessary call to rescan_paths() from uev_update_path()
Changes from v3:
0003: Handle NULL returns from strdup(). Suggested by Martin Wilck
Changes from v2:
0003: Combined with v2 patch 0006, with changes changes in comments,
how the return codes are defined, and how they are handled, based on Martin's suggestions
0006: New patch based on Martin's suggestions about wwid change handling
in uev_update_path().
Changes from v1:
0001: changed comment based on Martin's suggestion 0004: moved location of atexit() call based on Martin's suggestion 0006: New patch, based on Martin's comments on patch 0003
Benjamin Marzinski (6):
multipathd: don't fail to remove path once the map is removed
multipathd: remove duplicate orphan_paths in flush_map
multipathd: fix ev_remove_path return code handling
multipath: free vectors in configure
kpartx: Don't leak memory when getblock returns NULL
multipathd: don't rescan_path on wwid change in uev_update_path
kpartx/kpartx.c | 2 ++ libmultipath/structs_vec.c | 4 +-- multipath/main.c | 7 ++++- multipathd/cli_handlers.c | 24 ++++++++++++++-- multipathd/main.c | 56 ++++++++++++++++++++------------------ multipathd/main.h | 14 ++++++++++ 6 files changed, 75 insertions(+), 32 deletions(-)
Signature · 6 lines
2.17.2 -- dm-devel mailing list [email protected] https://listman.redhat.com/mailman/listinfo/dm-devel