[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e25d90b2-62ff-18bc-efe2-ef37c56bfa52@kernel.dk>
Date: Wed, 10 Apr 2019 16:14:52 -0600
From: Jens Axboe <axboe@...nel.dk>
To: jglisse@...hat.com, linux-kernel@...r.kernel.org
Cc: linux-block@...r.kernel.org,
Linus Torvalds <torvalds@...ux-foundation.org>,
stable@...r.kernel.org
Subject: Re: [PATCH] block: do not leak memory in bio_copy_user_iov()
On 4/10/19 2:27 PM, jglisse@...hat.com wrote:
> From: Jérôme Glisse <jglisse@...hat.com>
>
> When bio_add_pc_page() fails in bio_copy_user_iov() we should free
> the page we just allocated otherwise we are leaking it.
Applied, thanks.
--
Jens Axboe
Powered by blists - more mailing lists