kernel_optimize_test/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
kvm
net
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