linux/drivers/s390
Martin Schwidefsky 36d9f4d3b6 s390/3270: fix allocation of tty3270_screen structure
The tty3270_alloc_screen function is called from tty3270_install with
swapped arguments, the number of columns instead of rows and vice versa.
The number of rows is typically smaller than the number of columns which
makes the screen array too big but the individual cell arrays for the
lines too small. Creating lines longer than the number of rows will
clobber the memory after the end of the cell array.
The fix is simple, call tty3270_alloc_screen with the correct argument
order.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2013-12-18 17:35:30 +01:00
..
block s390/dasd: fix memory leak caused by dangling references to request_queue 2013-12-02 15:31:06 +01:00
char s390/3270: fix allocation of tty3270_screen structure 2013-12-18 17:35:30 +01:00
cio s390/scm_block: do not hide eadm subchannel dependency 2013-11-15 14:08:42 +01:00
crypto s390/s390dbf: use debug_level_enabled() where applicable 2013-10-24 17:16:54 +02:00
kvm virtio_ring: change host notification API 2013-10-29 11:28:11 +10:30
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-11-13 17:40:34 +09:00
scsi Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-11-15 16:47:22 -08:00
Makefile