diff options
| author | 2023-08-11 04:50:20 +1000 | |
|---|---|---|
| committer | 2023-09-20 00:15:50 +0200 | |
| commit | e3885f71213437e7fa3e347d16b2bf59d03ae05d (patch) | |
| tree | 1ac3f785f40b1b339c79f262565acc9c2a33e5b1 /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | drm/nouveau: sched: fix leaking memory of timedout job (diff) | |
nouveau/u_memcpya: use vmemdup_user
I think there are limit checks in place for most things but the
new uAPI wants to not have them.
Add a limit check and use the vmemdup_user helper instead.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Danilo Krummrich <dakr@redhat.com>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230810185020.231135-1-airlied@gmail.com
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
