Skip to content
Commit 03439e7d authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

s390/3270: fix use after free of tty3270_screen structure



The deactivation and freeing of the tty view of the 3270 device
can race with a tty3270_update invocation via the update timer.
To fix this move the del_timer_sync call for the update timer from
tty3270_free_view to tty3270_free prior to the tty3270_free_screen
call.

Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent c63badeb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment