summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzhangliguang <zhangliguang@linux.alibaba.com>2019-05-22 13:32:32 +0800
committerJens Axboe <axboe@kernel.dk>2019-05-22 08:46:28 -0600
commit4d325561f325c2c79230bfece89bd5cd2521e1c4 (patch)
tree2b92687602e9f07ab9534ed12ffd615157802484 /src
parent2e719820d47cdb48308265f95547d2c9458bbfe7 (diff)
examples/io_uring-cp: fix a NULL pointer dereference
In case malloc fails, the fix returns NULL to avoid NULL pointer dereference. Signed-off-by: zhangliguang <zhangliguang@linux.alibaba.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions