When I learn and review the multipath-tools source code, I find some cleanups and fixes. repo: openSUSE/multipath-tools repo link: https://github.com/openSUSE/multipath-tools branch: upstream-queue ZhiqiangLiu (6): checker: remove useless name check in checker_get func multipathd: adopt static char* arr in daemon_status multipathd: adopt static char* arr in sd_notify_status func libmultipath: check blist before calling MALLOC in alloc_ble_device func vector: add lower boundary check in vector_foreach_slot_after multipathd: return NULL if MALLOC fails in alloc_waiteri func libmultipath/blacklist.c | 8 +++++-- libmultipath/checkers.c | 9 ++++---- libmultipath/vector.h | 6 +++--- multipathd/main.c | 56 +++++++++++++++++++++++------------------------- multipathd/main.h | 3 ++- multipathd/waiter.c | 4 +++- 6 files changed, 45 insertions(+), 41 deletions(-) -- 1.8.3.1 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel