linux/arch/um
Gabriel Krisman Bertazi 6e682d53fc um: ubd: Prevent buffer overrun on command completion
On the hypervisor side, when completing commands and the pipe is full,
we retry writing only the entries that failed, by offsetting
io_req_buffer, but we don't reduce the number of bytes written, which
can cause a buffer overrun of io_req_buffer, and write garbage to the
pipe.

Cc: Martyn Welch <martyn.welch@collabora.com>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2020-03-29 23:21:33 +02:00
..
configs um: Cleanup CONFIG_IOSCHED_CFQ 2020-03-29 23:15:22 +02:00
drivers um: ubd: Prevent buffer overrun on command completion 2020-03-29 23:21:33 +02:00
include MPX requires recompiling applications, which requires compiler support. 2020-01-30 16:11:50 -08:00
kernel um: Fix overlapping ELF segments when statically linked 2020-03-29 23:21:29 +02:00
os-Linux um: Fix len of file in create_pid_file 2020-03-29 23:20:07 +02:00
scripts License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
.gitignore
Kconfig um: Fix time-travel=inf-cpu with xor/raid6 2020-01-19 22:42:06 +01:00
Kconfig.debug um: Make GCOV depend on !KCOV 2018-12-27 22:48:19 +01:00
Makefile kbuild: remove src and obj from the top Makefile 2019-07-11 00:05:09 +09:00
Makefile-os-Linux
Makefile-skas