Content-Type: multipart/mixed; boundary="===============8419345331978355995==" MIME-Version: 1.0 From: eadavis@sina.com To: kbuild-all@lists.01.org Subject: [PATCH] fs/ntfs3: "add a boundary check for EA_FULL" lose right parenthesis Date: Mon, 19 Sep 2022 13:19:43 +0800 Message-ID: <20220919051943.184810-1-eadavis@sina.com> In-Reply-To: <202209121421.hVaJ6pLd-lkp@intel.com> List-Id: --===============8419345331978355995== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Edward Adam Davis I have provided a new patch: https://lore.kernel.org/all/20220912065431.3043731-1-eadavis(a)sina.com It is a collection of the current patch and the previous one. Signed-off-by: Edward Adam Davis Reported-by: kernel test robot Reported-by: syzbot+c4d950787fd5553287b7(a)syzkaller.appspotmail.com --- fs/ntfs3/xattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ntfs3/xattr.c b/fs/ntfs3/xattr.c index c90cc453390d..4ec8f7e41b6d 100644 --- a/fs/ntfs3/xattr.c +++ b/fs/ntfs3/xattr.c @@ -69,7 +69,7 @@ static inline bool find_ea(const struct EA_FULL *ea_all, = u32 bytes, if (next_len >=3D bytes || ((!ea->size) && (next_len + ea->name_len + = - le16_to_cpu(ea->elength) >=3D bytes)) + le16_to_cpu(ea->elength) >=3D bytes))) return false; } } -- = 2.37.2 --===============8419345331978355995==--