summaryrefslogtreecommitdiff
path: root/security/selinux/include/classmap.h
diff options
context:
space:
mode:
authorSzymon Heidrich <szymon.heidrich@gmail.com>2022-01-24 12:14:00 +0100
committerMichael Bestas <mkbestas@lineageos.org>2022-11-05 18:58:23 +0200
commite4a8dd12424ec4659eac4f4f89873af1cbfcbf6b (patch)
treefdd8d48df9704c8ad859eb01aabedc65fecae016 /security/selinux/include/classmap.h
parent8f0a947317e03efc21c3f43a553c3618fa623c85 (diff)
UPSTREAM: USB: gadget: validate interface OS descriptor requests
Stall the control endpoint in case provided index exceeds array size of MAX_CONFIG_INTERFACES or when the retrieved function pointer is null. Bug: 213172319 Signed-off-by: Szymon Heidrich <szymon.heidrich@gmail.com> Cc: stable@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 75e5b4849b81e19e9efe1654b30d7f3151c33c2c) Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I78f46b6f2140394a6bc6cff9f829c0742d7ad2fc (cherry picked from commit c7732dbce590ef33ac2345f21efa6703f78b9e95)
Diffstat (limited to 'security/selinux/include/classmap.h')
0 files changed, 0 insertions, 0 deletions