Re: jsm_tty: Fix a possible null pointer dereference in two functions
From: Jiri Slaby <hidden>
Date: 2017-11-30 06:41:21
Also in:
kernel-janitors, lkml
From: Jiri Slaby <hidden>
Date: 2017-11-30 06:41:21
Also in:
kernel-janitors, lkml
On 11/29/2017, 07:19 PM, SF Markus Elfring wrote:
quoted
quoted
It's pretty unlikely, but it is an actual defect.No it is not, those variables will never be set to NULL, so this can never be triggered. Walk up the call chain.If the involved software developers are convinced about the validity of this pointer: How do you think about to delete the following condition check instead in the discussed function implementations? if (!ch) return;
ACK thanks, -- js suse labs