[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170220092036.GB5664@infradead.org>
Date: Mon, 20 Feb 2017 01:20:36 -0800
From: Christoph Hellwig <hch@...radead.org>
To: Miklos Szeredi <miklos@...redi.hu>
Cc: Al Viro <viro@...IV.linux.org.uk>, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH] vfs: fix uninitialized flags in splice_to_pipe()
On Thu, Feb 16, 2017 at 05:49:02PM +0100, Miklos Szeredi wrote:
> From: Miklos Szeredi <mszeredi@...hat.com>
>
> Flags (PIPE_BUF_FLAG_PACKET, PIPE_BUF_FLAG_GIFT) could remain on the unused
> part of the pipe ring buffer. Previously splice_to_pipe() left the flags
> value alone, which could result in incorrect behavior.
>
> Uninitialized flags appears to have been there from the introduction of the
> splice syscall.
Looks fine,
Reviewed-by: Christoph Hellwig <hch@....de>
Powered by blists - more mailing lists