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
2011-03-11 14:25:50 +00:00
2019-10-05 13:10:03 +02:00
2018-05-09 17:25:13 +02:00
2018-06-19 10:06:29 -07:00
2018-03-26 15:09:38 +02:00
2018-01-01 12:40:27 -07:00
2019-11-24 08:19:14 +01:00
2017-08-07 17:22:14 +02:00
2018-07-12 10:04:29 -04:00
2014-10-09 11:35:48 +03:00
2019-10-17 13:45:42 -07:00
2018-03-26 08:53:43 -06:00
2018-06-22 13:43:27 +09:00
2019-12-13 08:52:43 +01:00
2018-07-12 21:35:28 +02:00
2018-04-12 09:41:19 -07:00
2017-02-24 17:46:57 -08:00
2018-06-07 17:34:35 -07:00
2018-03-26 13:14:43 -04:00
2018-01-31 17:18:37 -08:00
2017-11-09 10:23:28 +01:00
2018-07-25 13:41:22 -07:00
2018-07-21 10:43:12 -05:00
2018-08-02 17:33:06 -04:00
2018-08-02 17:16:05 +02:00
2019-11-10 11:27:54 +01:00
2018-07-07 17:25:23 +02:00
2018-05-03 15:55:23 -07:00
2018-08-16 12:14:42 -07:00
2018-02-06 18:32:47 -08:00
2018-11-13 11:08:51 -08:00
2017-08-15 09:02:07 -07:00