summaryrefslogtreecommitdiff
path: root/fs/stat.c
diff options
context:
space:
mode:
authorEli Cohen <eli@dev.mellanox.co.il>2014-09-14 16:47:53 +0300
committerRoland Dreier <roland@purestorage.com>2014-10-09 00:08:40 -0700
commit1c3ce90d0acb0c661910dd84f416b3053e9710af (patch)
treef9023638d399fa1f01e52c7d68f537ff50c8bcac /fs/stat.c
parent377b513485fd885dea1083a9a5430df65b35e048 (diff)
downloadlinux-next-1c3ce90d0acb0c661910dd84f416b3053e9710af.tar.gz
IB/mlx5: Fix possible array overflow
The check to verify that userspace does not provide an invalid index to the micro UAR was placed too late. Fix this by moving the check before using the index. Reported by: Shachar Raindel <raindel@mellanox.com> Signed-off-by: Eli Cohen <eli@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'fs/stat.c')
0 files changed, 0 insertions, 0 deletions