diff options
author | Joonwon Kang <kjw1627@gmail.com> | 2019-07-27 18:58:41 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2019-07-31 23:13:22 +0300 |
commit | 60f2c82ed20bde57c362e66f796cf9e0e38a6dbb (patch) | |
tree | 41cd23407429499f0c3fab1ed59e0cc566254f1a /scripts/module-common.lds | |
parent | 609488bc979f99f805f34e9a32c1e3b71179d10b (diff) | |
download | linux-60f2c82ed20bde57c362e66f796cf9e0e38a6dbb.tar.xz |
randstruct: Check member structs in is_pure_ops_struct()
While no uses in the kernel triggered this case, it was possible to have
a false negative where a struct contains other structs which contain only
function pointers because of unreachable code in is_pure_ops_struct().
Signed-off-by: Joonwon Kang <kjw1627@gmail.com>
Link: https://lore.kernel.org/r/20190727155841.GA13586@host
Fixes: 313dd1b62921 ("gcc-plugins: Add the randstruct plugin")
Cc: stable@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'scripts/module-common.lds')
0 files changed, 0 insertions, 0 deletions