diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-08-30 18:50:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-03 09:39:10 +0200 |
commit | dab8fe7ea267711cf28bb7c87361fa3c2293fa97 (patch) | |
tree | f9e78a0b7b2eb26644997bf13d0aedce908c604c /drivers/staging/kpc2000/kpc_dma | |
parent | staging: greybus: light: fix a couple double frees (diff) | |
download | linux-dev-dab8fe7ea267711cf28bb7c87361fa3c2293fa97.tar.xz linux-dev-dab8fe7ea267711cf28bb7c87361fa3c2293fa97.zip |
staging: exfat: check for null return from call to FAT_getblk
A call to FAT_getblk is missing a null return check which can
lead to a null pointer dereference. Fix this by adding a null
check to match all the other FAT_getblk return sanity checks.
Addresses-Coverity: ("Dereference null return")
Fixes: c48c9f7ff32b ("staging: exfat: add exfat filesystem code to staging")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20190830175050.12706-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/kpc2000/kpc_dma')
0 files changed, 0 insertions, 0 deletions