Re: [PATCH 0/3] namei: fix use-after-free and adjust calling conventions
From: Al Viro
Date: Tue Sep 07 2021 - 17:54:50 EST
On Tue, Sep 07, 2021 at 02:43:48PM -0700, Stephen Brennan wrote:
> >From the links in the blame it seems this was suggested by Linus
> here[1]. The core frustration having been with the state of
> __filename_create() and friends freeing filenames at different times
> depending on whether an error occurred.
Sure, but that's an argument for IS_ERR(), not the IS_ERR_OR_NULL() shite...