aboutsummaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2021-04-26 00:16:31 +0100
committerJens Axboe <[email protected]>2021-04-26 06:50:35 -0600
commita2b4198cab7e3edcb78fce77e0e8aca130435403 (patch)
tree4848641c12a0c48a966f1efe6072e3936aade41a /include/linux/overflow.h
parenta2a7cc32a5e8cd983912f25a242820107e5613dc (diff)
io_uring: fix invalid error check after malloc
Now we allocate io_mapped_ubuf instead of bvec, so we clearly have to check its address after allocation. Fixes: 41edf1a5ec967 ("io_uring: keep table of pointers to ubufs") Reported-by: kernel test robot <[email protected]> Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/d28eb1bc4384284f69dbce35b9f70c115ff6176f.1619392565.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions