[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bcfe28a1-5ff1-5439-0da3-4bc63feddc3a@I-love.SAKURA.ne.jp>
Date: Wed, 1 Apr 2020 21:39:34 +0900
From: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
To: Chen Zhou <chenzhou10@...wei.com>
Cc: casey@...aufler-ca.com, jmorris@...ei.org, serge@...lyn.com,
linux-security-module@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] smack: fix a missing-check bug in
smack_sb_eat_lsm_opts()
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.
Powered by blists - more mailing lists