diff options
author | Jiri Slaby <[email protected]> | 2012-08-07 21:47:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2012-08-13 16:50:20 -0700 |
commit | 3ec0a17ef5f4ea922b10ebfdb99473c4d8d6120d (patch) | |
tree | 63b9700b604ddfa0983bbaf8a4b49f5c8c03b03b /tools/perf/scripts/python/check-perf-trace.py | |
parent | 5920c2c9b9a16e86eb154fbb55d6034fbaad1b2b (diff) |
TTY: con3215, unset raw3215[line]
raw3215[line] is set in probe, but not unset in remove. This will lead
to random crashes if the device is removed and the corresponding tty
opened later. open would dereference freed memory.
So set raw3215[line] to NULL in remove to fix that.
Signed-off-by: Jiri Slaby <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: [email protected]
Cc: [email protected]
Acked-by: Alan Cox <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions