Re: [PATCH v2] appletalk: Correctly check return value of register_snap_client

2019-03-10 Thread YueHaibing
Hi David, Is there something need do for this patch? Pls let me know. I saw the patchwork status labled to 'Not Applicable' https://patchwork.ozlabs.org/patch/1052624/ On 2019/3/7 10:22, Yue Haibing wrote: > From: YueHaibing > > register_snap_client may return NULL, all the callers > check

Re: [PATCH v2] appletalk: Correctly check return value of register_snap_client

2019-03-08 Thread YueHaibing
ping. On 2019/3/7 10:22, Yue Haibing wrote: > From: YueHaibing > > 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

[PATCH v2] appletalk: Correctly check return value of register_snap_client

2019-03-06 Thread Yue Haibing
From: YueHaibing 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 Signed-off-by: YueHaibing