linux/drivers/s390
Heiko Carstens e8a79c9ec7 [S390] call home: fix string length handling
After copying uts->nodename to the static nodename array the static
version isn't necessarily zero termininated, since the size of the
array is one byte too short.
Afterwards doing strncat(data, nodename, strlen(nodename)); may copy
an arbitrary large amount of bytes.
Fix this by getting rid of the static array and using strncat with
proper length limit.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2009-10-29 15:05:12 +01:00
..
block [S390] dasd: use idal for device characteristics 2009-10-14 12:43:53 +02:00
char [S390] call home: fix string length handling 2009-10-29 15:05:12 +01:00
cio [S390] cio: change misleading console logic 2009-10-14 12:43:53 +02:00
crypto [S390] zcrypt: Improve some comments 2009-10-06 10:35:09 +02:00
kvm [S390] kvm: use console_initcall() to initialize s390 virtio console 2009-09-11 10:29:52 +02:00
net [S390] s/r: cmm resume fix 2009-10-29 15:05:12 +01:00
scsi [SCSI] zfcp: Fix hang when offlining device with offline chpid 2009-10-02 09:50:21 -05:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00