android_kernel_xiaomi_sm8350/drivers/s390/char
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
..
con3215.c
con3270.c
ctrlchar.c
ctrlchar.h
defkeymap.c
defkeymap.map
fs3270.c
Kconfig [S390] add call home support 2009-09-11 10:29:49 +02:00
keyboard.c
keyboard.h
Makefile [S390] add call home support 2009-09-11 10:29:49 +02:00
monreader.c
monwriter.c
raw3270.c [S390] 3270 console build fix 2009-10-06 10:35:05 +02:00
raw3270.h
sclp_async.c [S390] call home: fix string length handling 2009-10-29 15:05:12 +01:00
sclp_cmd.c
sclp_con.c
sclp_config.c
sclp_cpi_sys.c
sclp_cpi_sys.h
sclp_cpi.c
sclp_quiesce.c
sclp_rw.c
sclp_rw.h
sclp_sdias.c
sclp_tty.c
sclp_tty.h
sclp_vt220.c [S390] sclp_vt220 build fix 2009-10-14 12:43:54 +02:00
sclp.c
sclp.h [S390] add call home support 2009-09-11 10:29:49 +02:00
tape_34xx.c [S390] tape: Use pr_xxx instead of dev_xxx in shared driver code 2009-09-11 10:29:57 +02:00
tape_3590.c [S390] tape: Use pr_xxx instead of dev_xxx in shared driver code 2009-09-11 10:29:57 +02:00
tape_3590.h
tape_block.c [S390] tape390: Fix request queue handling in block driver 2009-10-14 12:43:52 +02:00
tape_char.c
tape_class.c
tape_class.h
tape_core.c [S390] tape: Use pr_xxx instead of dev_xxx in shared driver code 2009-09-11 10:29:57 +02:00
tape_proc.c
tape_std.c [S390] tape: use init_timer_on_stack() rather than init_timer() 2009-09-11 10:29:46 +02:00
tape_std.h
tape.h
tty3270.c
tty3270.h
vmcp.c
vmcp.h
vmlogrdr.c
vmur.c [S390] vmur: Invalid allocation sequence for vmur class 2009-09-11 10:29:49 +02:00
vmur.h
vmwatchdog.c
zcore.c headers: utsname.h redux 2009-09-23 18:13:10 -07:00