Files
linux/fs/nfsd
Dan Carpenter 1a33e0de60 NFSD: prevent underflow in nfssvc_decode_writeargs()
commit 184416d4b9 upstream.

Smatch complains:

	fs/nfsd/nfsxdr.c:341 nfssvc_decode_writeargs()
	warn: no lower bound on 'args->len'

Change the type to unsigned to prevent this issue.

Cc: stable@vger.kernel.org
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-20 09:06:28 +02:00
..
2017-06-14 15:06:00 +02:00
2016-03-18 11:42:53 -04:00
2022-02-16 12:43:52 +01:00
2022-02-16 12:43:52 +01:00
2016-01-22 18:04:28 -05:00
2016-05-29 19:08:00 -04:00
2016-01-14 17:32:51 -05:00