From 3f82b8530a295feeba3940fbab8ac218debdd1e6 Mon Sep 17 00:00:00 2001 From: Shwetha K Acharya Date: Wed, 29 Oct 2025 16:42:47 +0530 Subject: [PATCH] vfs_streams_xattr: Fix CID 1667321 REVERSE_INULL Remove NULL check for fsp. A NULL fsp is a fatal error that should never occur in this context. Signed-off-by: Shwetha K Acharya Reviewed-by: Volker Lendecke Reviewed-by: Anoop C S Autobuild-User(master): Anoop C S Autobuild-Date(master): Wed Oct 29 14:43:28 UTC 2025 on atb-devel-224 --- source3/modules/vfs_streams_xattr.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source3/modules/vfs_streams_xattr.c b/source3/modules/vfs_streams_xattr.c index 9eb2d0068b5..f892bc45c66 100644 --- a/source3/modules/vfs_streams_xattr.c +++ b/source3/modules/vfs_streams_xattr.c @@ -419,9 +419,6 @@ static int streams_xattr_get_ea_value_fsp( ssize_t sizeret; bool refuse; - if (fsp == NULL) { - return EINVAL; - } refuse = refuse_symlink_fsp(fsp); if (refuse) { return EACCES; -- 2.47.3