Messages in this thread | | | Subject | Re: [PATCH][next] io_uring: Fix uninitialized variable up.resv | From | Jens Axboe <> | Date | Mon, 26 Apr 2021 06:51:48 -0600 |
| |
On 4/26/21 3:47 AM, Colin King wrote: > From: Colin Ian King <colin.king@canonical.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
| |