summaryrefslogtreecommitdiffstats
path: root/drivers/virt
diff options
context:
space:
mode:
authorTodd Kjos <tkjos@android.com>2019-04-24 21:31:18 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-25 21:26:49 +0200
commit0b0509508beff65c1d50541861bc0d4973487dc5 (patch)
tree6237e6db6fc0f1355c60e9c9f6c924178219db59 /drivers/virt
parentmisc: genwqe: Fix misuse of %x (diff)
downloadlinux-0b0509508beff65c1d50541861bc0d4973487dc5.tar.xz
linux-0b0509508beff65c1d50541861bc0d4973487dc5.zip
binder: check for overflow when alloc for security context
When allocating space in the target buffer for the security context, make sure the extra_buffers_size doesn't overflow. This can only happen if the given size is invalid, but an overflow can turn it into a valid size. Fail the transaction if an overflow is detected. Signed-off-by: Todd Kjos <tkjos@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions