Files
twx-linux/include/linux
YueHaibing 0977763a13 appletalk: Fix potential NULL pointer dereference in unregister_snap_client
commit 9804501fa1 upstream.

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>
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-13 08:52:59 +01:00
..
2019-12-13 08:51:18 +01:00
2019-10-05 13:10:03 +02:00
2019-08-09 17:52:28 +02:00
2019-11-24 08:19:14 +01:00
2019-10-17 13:45:42 -07:00
2019-12-13 08:52:43 +01:00
2019-11-10 11:27:54 +01:00