[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250321050854.GC1161423@mit.edu>
Date: Fri, 21 Mar 2025 01:08:54 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: Charles Han <hanchunchao@...pur.com>
Cc: adilger.kernel@...ger.ca, shikemeng@...weicloud.com,
linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ext4: Fix potential null dereference in ext4 test
On Fri, Mar 07, 2025 at 07:54:31PM +0800, Charles Han wrote:
> kunit_kzalloc() may return a NULL pointer, dereferencing it without
> NULL check may lead to NULL dereference.
> Add a NULL check for test_state
Thanks, others have submitted the same fix. It's now fixed in my tree
and linux-next.
- Ted
Powered by blists - more mailing lists