Re: [dm- devel][PATCH] checker: add input check of state in checker_state_name func

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2020-08-10 at 09:14 +0800, Zhiqiang Liu wrote:
> In checker_state_name func, we donot check whether input i
> is valid. It may cause array access violation problem.
> 
> Signed-off-by: Zhiqiang Liu <liuzhiqiang26@xxxxxxxxxx>
> ---
>  libmultipath/checkers.c | 26 +++++++++++++++-----------
>  libmultipath/checkers.h |  3 ++-
>  2 files changed, 17 insertions(+), 12 deletions(-)
> 

Reviewed-by: Martin Wilck <mwilck@xxxxxxxx>

Thanks for the patch.

Btw, are you currently reviewing multipath-tools with coverity or some
similar tool?

Martin


--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux