diff options
author | Alexey Khoroshilov | 2012-08-09 15:19:25 +0200 |
---|---|---|
committer | Jens Axboe | 2012-08-09 15:19:25 +0200 |
commit | 389d7b26d9e4f78b17366c23a3aa16b3c5cb3bde (patch) | |
tree | 7add3d139c36f1e367a5d120b2552e5daeb3bcdb /samples/seccomp | |
parent | block: Don't use static to define "void *p" in show_partition_start() (diff) | |
download | kernel-qcow2-linux-389d7b26d9e4f78b17366c23a3aa16b3c5cb3bde.tar.gz kernel-qcow2-linux-389d7b26d9e4f78b17366c23a3aa16b3c5cb3bde.tar.xz kernel-qcow2-linux-389d7b26d9e4f78b17366c23a3aa16b3c5cb3bde.zip |
bio: Fix potential memory leak in bio_find_or_create_slab()
Do not leak memory by updating pointer with potentially NULL realloc return value.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'samples/seccomp')
0 files changed, 0 insertions, 0 deletions