diff options
| author | Philipp Stanner <[email protected]> | 2023-11-02 19:26:13 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2023-11-08 09:26:27 +0000 |
| commit | cc9c54232f04aef3a5d7f64a0ece7df00f1aaa3d (patch) | |
| tree | ed5160827e15e024e4eaa8c527c325992f56cbc9 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | i2c: designware: Disable TX_EMPTY irq while waiting for block length byte (diff) | |
| download | kernel-cc9c54232f04aef3a5d7f64a0ece7df00f1aaa3d.tar.gz kernel-cc9c54232f04aef3a5d7f64a0ece7df00f1aaa3d.zip | |
i2c: dev: copy userspace array safely
i2c-dev.c utilizes memdup_user() to copy a userspace array. This is done
without an overflow check.
Use the new wrapper memdup_array_user() to copy the array more safely.
Suggested-by: Dave Airlie <[email protected]>
Signed-off-by: Philipp Stanner <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
