Re: [PATCH 2/2] iov_iter: fix memory leak in pipe_get_pages_alloc()
From: Al Viro
Date: Wed May 02 2018 - 14:40:54 EST
On Wed, May 02, 2018 at 08:16:57PM +0200, Ilya Dryomov wrote:
> Make n signed to avoid leaking the pages array if __pipe_get_pages()
> fails.
Applied, with s/fails/& to allocate any pages/.