[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YwRxwr2J9ba/Agio@kroah.com>
Date: Tue, 23 Aug 2022 08:20:50 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: lily <floridsleeves@...il.com>
Cc: linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org,
jirislaby@...nel.org
Subject: Re: [PATCH v1] drivers/tty/serial: check the return value of
uart_port_check()
On Mon, Aug 22, 2022 at 10:57:39PM -0700, lily wrote:
> uart_port_check() can return NULL pointer.
It can? How will that happen?
> Check its return value
> before dereference it.
How do you trigger this issue, and how was this change you made tested?
thanks,
greg k-h
Powered by blists - more mailing lists