]> www.infradead.org Git - users/jedix/linux-maple.git/commit
smb3 client: warn when parse contexts returns error on compounded operation
authorSteve French <stfrench@microsoft.com>
Sun, 4 May 2025 23:26:45 +0000 (18:26 -0500)
committerSteve French <stfrench@microsoft.com>
Tue, 6 May 2025 14:05:15 +0000 (09:05 -0500)
commitd90b023718a17d308d831fde36b3bb6fa3b511e0
treef04d914442fd64b9467ba9635d819ad2a547e8dc
parent92a09c47464d040866cf2b4cd052bc60555185fb
smb3 client: warn when parse contexts returns error on compounded operation

Coverity noticed that the rc on smb2_parse_contexts() was not being checked
in the case of compounded operations.  Since we don't want to stop parsing
the following compounded responses which are likely valid, we can't easily
error out here, but at least print a warning message if server has a bug
causing us to skip parsing the open response contexts.

Addresses-Coverity: 1639191
Acked-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smb2inode.c