[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200725202316.GA349701@chrisdown.name>
Date: Sat, 25 Jul 2020 21:23:16 +0100
From: Chris Down <chris@...isdown.name>
To: Gaurav Singh <gaurav1086@...il.com>
Cc: Shuah Khan <shuah@...nel.org>, Tejun Heo <tj@...nel.org>,
Michal Koutný <mkoutny@...e.com>,
Roman Gushchin <guro@...com>,
Andrew Morton <akpm@...ux-foundation.org>,
Christian Brauner <christian.brauner@...ntu.com>,
"open list:KERNEL SELFTEST FRAMEWORK"
<linux-kselftest@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] [cgroup/testing] cg_read_strcmp: Fix null pointer
dereference
Gaurav Singh writes:
>Passing NULL in strcmp will cause a segmentation fault.
>Fix this by returning -1 if expected is NULL pointer.
Did you actually encounter this while running the tests?
Powered by blists - more mailing lists