From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: [git pull] vfs fixes Date: Sun, 23 Mar 2014 09:36:28 -0700 Message-ID: References: <20140323071601.GH18016@ZenIV.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Linux Kernel Mailing List , linux-fsdevel To: Al Viro Return-path: In-Reply-To: <20140323071601.GH18016@ZenIV.linux.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Sun, Mar 23, 2014 at 12:16 AM, Al Viro wrote: > Several fixes; first 4 commits are obvious fixes (a couple > of fdget_pos()-related ones from Eric Biggers, prepend_name() fix, missing > checks for false negatives from __lookup_mnt() in fs/namei.c) I'm not seeing the obvious fix in the prepend_name() thing, and I think it's horrible to *update* the name-len to negative like it now does. Why is anybody calling it with a negative buffer length in the first place? *That* is the bug. Making the buflen become negative just makes the bug worse, imnsho. So I'm not pulling this, since the obvious fixes don't all look obvious to me, and Sedat reports there are problems with it. Linus