diff options
| author | 2012-07-13 13:33:13 +0200 | |
|---|---|---|
| committer | 2012-07-16 19:11:37 -0700 | |
| commit | 1337b07e664c5a40ae0c5cbc13f5da4cf37c870c (patch) | |
| tree | d3d1c94a61883b020efbc0bbe8d3424c336d9e3e /kernel/trace/trace_functions.c | |
| parent | staging: comedi: dt282x: remove the outw wrapper macros (diff) | |
| download | wireguard-linux-1337b07e664c5a40ae0c5cbc13f5da4cf37c870c.tar.xz wireguard-linux-1337b07e664c5a40ae0c5cbc13f5da4cf37c870c.zip | |
Staging: ipack/devices/ipoctal: fix dereference NULL pointer
After opening and closing the file /dev/ipoctal.X.Y.Z for the second time, it
gives a kernel oops due to a dereference of a NULL pointer.
The problem was that tty->driver_data was not properly initialized when
accessing the file for the second time.
Reported-by: Alberto Garcia Gonzalez <agarcia@igalia.com>
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/trace/trace_functions.c')
0 files changed, 0 insertions, 0 deletions
