mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 22:21:42 +00:00
683a0e630c
There is a potential execution path in which pointer memfd is NULL when
passed as argument to fput(), hence there is a NULL pointer dereference
in fput().
Fix this by null checking *memfd* before calling fput().
Addresses-Coverity-ID: 1473174 ("Explicit null dereferenced")
Fixes:
|
||
---|---|---|
.. | ||
dma-buf.c | ||
dma-fence-array.c | ||
dma-fence.c | ||
Kconfig | ||
Makefile | ||
reservation.c | ||
seqno-fence.c | ||
sw_sync.c | ||
sync_debug.c | ||
sync_debug.h | ||
sync_file.c | ||
sync_trace.h | ||
udmabuf.c |