Skip to content
Commit 4b15da44 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

nfsd: better layoutupdate bounds-checking



You could add any multiple of 2^32/PNFS_SCSI_RANGE_SIZE to nr_iomaps and
still pass this check.  You'd probably still fail the following kcalloc,
but best to be paranoid since this is from-the-wire data.

Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 10c4de10
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment