diff options
| author | Randy Dunlap <[email protected]> | 2018-04-10 23:35:14 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-04-11 17:28:37 +0000 |
| commit | 2d87b309a5d66c3ec0b4d985fe29b547282e7427 (patch) | |
| tree | dd6698367a605538473d4e99a4a9e33a7b0779ab /security/selinux/hooks.c | |
| parent | rapidio: use a reference count for struct mport_dma_req (diff) | |
| download | kernel-2d87b309a5d66c3ec0b4d985fe29b547282e7427.tar.gz kernel-2d87b309a5d66c3ec0b4d985fe29b547282e7427.zip | |
kernel/sysctl.c: fix sizeof argument to match variable name
Fix sizeof argument to be the same as the data variable name. Probably
a copy/paste error.
Mostly harmless since both variables are unsigned int.
Fixes kernel bugzilla #197371:
Possible access to unintended variable in "kernel/sysctl.c" line 1339
https://bugzilla.kernel.org/show_bug.cgi?id=197371
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Randy Dunlap <[email protected]>
Reported-by: Petru Mihancea <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
