[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d65b1763-ac78-acd6-3b92-e28bd4402a75@kernel.dk>
Date: Mon, 26 Apr 2021 06:51:48 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Colin King <colin.king@...onical.com>,
Pavel Begunkov <asml.silence@...il.com>,
io-uring@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] io_uring: Fix uninitialized variable up.resv
On 4/26/21 3:47 AM, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The variable up.resv is not initialized and is being checking for a
> non-zero value in the call to _io_register_rsrc_update. Fix this by
> explicitly setting the pointer to 0.
Thanks Colin, applied. I changed the pointer to variable while doing
so.
--
Jens Axboe
Powered by blists - more mailing lists