diff options
author | Wen Yang <wenyang@linux.alibaba.com> | 2020-02-19 16:44:42 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2020-03-30 00:20:07 +0300 |
commit | ba758cfce00a5977ccf019926f8379a96f5ac5f6 (patch) | |
tree | 9b353510e0df037045b6b48d62e7b16bcb5fe5ad /arch/um/drivers/vector_user.h | |
parent | 7d7c0568285d6f5630fb269766186afe09e58dc7 (diff) | |
download | linux-ba758cfce00a5977ccf019926f8379a96f5ac5f6.tar.xz |
um: Fix len of file in create_pid_file
sizeof gives us the size of the pointer variable, not of the
area it points to. So the number of bytes copied by umid_file_name()
is 8.
We should pass in the correct length of the file buffer.
Signed-off-by: Wen Yang <wenyang@linux.alibaba.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/drivers/vector_user.h')
0 files changed, 0 insertions, 0 deletions