summaryrefslogtreecommitdiff
path: root/Documentation/device-mapper
diff options
context:
space:
mode:
authorJoonwon Kang <kjw1627@gmail.com>2019-07-27 18:58:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-05 14:10:02 +0300
commit98dc6d958bd9e9716e376cd13c0665f0d54f3577 (patch)
tree633e44a5a86b82ec0fc241ec3d6ad8a6efab1056 /Documentation/device-mapper
parentad6819cd68bef7f37e0a6de8ab65512f59227c12 (diff)
downloadlinux-98dc6d958bd9e9716e376cd13c0665f0d54f3577.tar.xz
randstruct: Check member structs in is_pure_ops_struct()
commit 60f2c82ed20bde57c362e66f796cf9e0e38a6dbb upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/device-mapper')
0 files changed, 0 insertions, 0 deletions