[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20121005162531.GA15434@kroah.com>
Date: Fri, 5 Oct 2012 09:25:31 -0700
From: Greg KH <gregkh@...uxfoundation.org>
To: Sasha Levin <sasha.levin@...cle.com>
Cc: samuel@...tiz.org, davem@...emloft.net, jslaby@...e.cz,
alan@...ux.intel.com, levinsasha928@...il.com, davej@...hat.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] net, TTY: initialize tty->driver_data before usage
On Thu, Oct 04, 2012 at 08:01:21PM -0400, Sasha Levin wrote:
> Commit 9c650ffc ("TTY: ircomm_tty, add tty install") split _open() to
> _install() and _open(). It also moved the initialization of driver_data
> out of open(), but never added it to install() - causing a NULL ptr
> deref whenever the driver was used.
>
> Signed-off-by: Sasha Levin <sasha.levin@...cle.com>
> Acked-by: Jiri Slaby <jslaby@...e.cz>
> ---
> net/irda/ircomm/ircomm_tty.c | 2 ++
> 1 file changed, 2 insertions(+)
Nice catch, now applied.
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists