summaryrefslogtreecommitdiff
path: root/sound/ac97
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-03-14 08:47:59 +0300
committerDavid S. Miller <davem@davemloft.net>2019-03-15 21:25:48 +0300
commit9804501fa1228048857910a6bf23e085aade37cc (patch)
treed51cf99870eb02f0b90107a449586d2ab20dbe9e /sound/ac97
parentf261c4e529dac5608a604d3dd3ae1cd2adf23c89 (diff)
downloadlinux-9804501fa1228048857910a6bf23e085aade37cc.tar.xz
appletalk: Fix potential NULL pointer dereference in unregister_snap_client
register_snap_client may return NULL, all the callers check it, but only print a warning. This will result in NULL pointer dereference in unregister_snap_client and other places. It has always been used like this since v2.6 Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/ac97')
0 files changed, 0 insertions, 0 deletions