summaryrefslogtreecommitdiff
path: root/drivers/phy/eswin/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2026-06-11 10:35:28 +0300
committerSteve French <stfrench@microsoft.com>2026-06-14 15:12:24 -0500
commit61f28012e5650c619223decdb7970e0d3162e949 (patch)
tree6d3bf636062ceb105678edd4f447e74fed0218dc /drivers/phy/eswin/git@git.tavy.me:linux.git
parent2e4f0d9815e93771a8002199fee2e3cd196811a7 (diff)
smb/client: Fix error code in smb2_aead_req_alloc()
The "*num_sgs" variable is a u32 so "ERR_PTR(*num_sgs)" doesn't work. We would have to do something similar to the previous line where it's cast to int and then long. However, it's simpler to store the return in an int ret variable. This bug would eventually result in a crash when dereference the invalid error pointer. Fixes: d08089f649a0 ("cifs: Change the I/O paths to use an iterator rather than a page list") Cc: stable@kernel.org Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'drivers/phy/eswin/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions