Re: [PATCH -next] smack: fix a missing-check bug in smack_sb_eat_lsm_opts()
From
Tetsuo Handa <>
Date
Wed, 1 Apr 2020 21:39:34 +0900
On 2020/04/01 16:10, Chen Zhou wrote: > In smack_sb_eat_lsm_opts(), 'arg' is allocated by kmemdup_nul(). > It returns NULL when fails, add check for it.
Thanks. But this check is not needed, for smack_add_opt() returns NULL if arg == NULL.