aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi <[email protected]>2021-10-25 16:27:40 -0300
committerJan Kara <[email protected]>2021-10-27 12:37:20 +0200
commit572c28f27a269f88e2d8d7b6b1507f114d637337 (patch)
tree83358931f5b2eb71f928daa2f4ebb582197a9168 /drivers/usb/cdns3/cdns3-trace.c
parent4bd5a5c8e6e5cd964e9738e6ef87f6c2cb453edf (diff)
fanotify: WARN_ON against too large file handles
struct fanotify_error_event, at least, is preallocated and isn't able to to handle arbitrarily large file handles. Future-proof the code by complaining loudly if a handle larger than MAX_HANDLE_SZ is ever found. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Amir Goldstein <[email protected]> Reviewed-by: Jan Kara <[email protected]> Signed-off-by: Gabriel Krisman Bertazi <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions