[rds-devel] [PATCH net-next] rds: debug: fix null check on static array
David Miller
davem at davemloft.net
Wed Dec 6 12:03:08 PST 2017
From: Prashant Bhole <bhole_prashant_q7 at lab.ntt.co.jp>
Date: Wed, 6 Dec 2017 10:47:04 +0900
> t_name cannot be NULL since it is an array field of a struct.
> Replacing null check on static array with string length check using
> strnlen()
>
> Signed-off-by: Prashant Bhole <bhole_prashant_q7 at lab.ntt.co.jp>
Applied, thank you.
More information about the rds-devel
mailing list