aboutsummaryrefslogtreecommitdiff
path: root/crypto/twofish_common.c
diff options
context:
space:
mode:
authorGravatar Christophe JAILLET <christophe.jaillet@wanadoo.fr> 2023-10-14 08:34:53 +0200
committerGravatar Paolo Abeni <pabeni@redhat.com> 2023-10-17 13:56:03 +0200
commit7713ec844756a9883ba9a91381369256275de4fb (patch)
tree7c3f2cdfc916422943affa272541c2f46231a142 /crypto/twofish_common.c
parentnet: openvswitch: Use struct_size() (diff)
downloadlinux-7713ec844756a9883ba9a91381369256275de4fb.tar.gz
linux-7713ec844756a9883ba9a91381369256275de4fb.tar.bz2
linux-7713ec844756a9883ba9a91381369256275de4fb.zip
net: openvswitch: Annotate struct mask_array with __counted_by
Prepare for the coming implementation by GCC and Clang of the __counted_by attribute. Flexible array members annotated with __counted_by can have their accesses bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS (for array indexing) and CONFIG_FORTIFY_SOURCE (for strcpy/memcpy-family functions). Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Kees Cook <keescook@chromium.org> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/ca5c8049f58bb933f231afd0816e30a5aaa0eddd.1697264974.git.christophe.jaillet@wanadoo.fr Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'crypto/twofish_common.c')
0 files changed, 0 insertions, 0 deletions