diff options
author | 2022-07-15 12:59:33 +0200 | |
---|---|---|
committer | 2022-07-20 17:21:41 +0200 | |
commit | f6749da17a34eb08c9665f072ce7c812ff68aad2 (patch) | |
tree | c879fc3814c2090141e81bfc8499211df02479b0 /lib/fault-inject.c | |
parent | s390/crash: remove redundant panic() on save area allocation failure (diff) | |
download | wireguard-linux-f6749da17a34eb08c9665f072ce7c812ff68aad2.tar.xz wireguard-linux-f6749da17a34eb08c9665f072ce7c812ff68aad2.zip |
s390/crash: fix incorrect number of bytes to copy to user space
The number of bytes in a chunk is correctly calculated, but instead
the total number of bytes is passed to copy_to_user_real() function.
Reported-by: Matthew Wilcox <willy@infradead.org>
Fixes: df9694c7975f ("s390/dump: streamline oldmem copy functions")
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions