diff options
| author | 2022-01-07 10:12:10 +0300 | |
|---|---|---|
| committer | 2022-01-07 14:11:05 +0000 | |
| commit | dc35616e6c2907b0c0c391a205802d8880f7fd85 (patch) | |
| tree | 8f97a488ad23d8336e8878ba3764ec66d4551f94 /security/apparmor/include/git:/ssh:/git@git.zx2c4.com | |
| parent | ax25: uninitialized variable in ax25_setsockopt() (diff) | |
| download | linux-dev-dc35616e6c2907b0c0c391a205802d8880f7fd85.tar.xz linux-dev-dc35616e6c2907b0c0c391a205802d8880f7fd85.zip | |
netrom: fix api breakage in nr_setsockopt()
This needs to copy an unsigned int from user space instead of a long to
avoid breaking user space with an API change.
I have updated all the integer overflow checks from ULONG to UINT as
well. This is a slight API change but I do not expect it to affect
anything in real life.
Fixes: 3087a6f36ee0 ("netrom: fix copying in user data in nr_setsockopt")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/apparmor/include/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
