Re: [PATCH] net, TTY: initialize tty->driver_data before usage

2012-10-05 Thread Greg KH
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

Re: [PATCH] net, TTY: initialize tty->driver_data before usage

2012-10-05 Thread Jiri Slaby
On 10/05/2012 02:01 AM, 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. >

Re: [PATCH] net, TTY: initialize tty-driver_data before usage

2012-10-05 Thread Jiri Slaby
On 10/05/2012 02:01 AM, 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.

Re: [PATCH] net, TTY: initialize tty-driver_data before usage

2012-10-05 Thread Greg KH
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

[PATCH] net, TTY: initialize tty->driver_data before usage

2012-10-04 Thread Sasha Levin
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 ---

[PATCH] net, TTY: initialize tty-driver_data before usage

2012-10-04 Thread Sasha Levin
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.le...@oracle.com ---