diff options
| author | 2022-06-07 12:49:26 +0200 | |
|---|---|---|
| committer | 2022-06-10 13:37:02 +0200 | |
| commit | 949fafcd7fa310e68bfd8828304150cdc9de5629 (patch) | |
| tree | f44244c43d803fa162d767630d7df4db65c63bb5 /include/linux/consolemap.h | |
| parent | tty/vt: consolemap: make p1 increment less confusing in con_get_unimap() (diff) | |
| download | linux-dev-949fafcd7fa310e68bfd8828304150cdc9de5629.tar.xz linux-dev-949fafcd7fa310e68bfd8828304150cdc9de5629.zip | |
tty/vt: consolemap: check put_user() in con_get_unimap()
Only the return value of copy_to_user() is checked in con_get_unimap().
Do the same for put_user() of the count too.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220607104946.18710-16-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/consolemap.h')
0 files changed, 0 insertions, 0 deletions
