Re: [PATCH] [-next] fuse: Conditionally fill kstat in fuse_do_statx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 24 Aug 2023 at 00:34, Bernd Schubert <bschubert@xxxxxxx> wrote:
>
> The code path
>
> fuse_update_attributes
>     fuse_update_get_attr
>         fuse_do_statx
>
> has the risk to use a NULL pointer for struct kstat *stat,
> although current callers of fuse_update_attributes
> only set request_mask to values that will trigger
> the call of fuse_do_getattr, which already handles the NULL
> pointer. Future updates might miss that fuse_do_statx does
> not handle it - it is safer to add a condition already
> right now.
>
> Signed-off-by: Bernd Schubert <bschubert@xxxxxxx>

Applied, thanks.

Miklos



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux