summaryrefslogtreecommitdiffstats
path: root/net/tls
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-04-10 15:26:43 -0700
committerDavid S. Miller <davem@davemloft.net>2018-04-12 21:46:10 -0400
commit08ea556e14b56e9a49b19abd8e39f0c9e05582f2 (patch)
tree23690640fee73510e7d28d6c91c5cc654c25b3fc /net/tls
parent5d1365940a68dd57b031b6e3c07d7d451cd69daf (diff)
downloadop-kernel-dev-08ea556e14b56e9a49b19abd8e39f0c9e05582f2.zip
op-kernel-dev-08ea556e14b56e9a49b19abd8e39f0c9e05582f2.tar.gz
ibmvnic: Define vnic_login_client_data name field as unsized array
The "name" field of struct vnic_login_client_data is a char array of undefined length. This should be written as "char name[]" so the compiler can make better decisions about the field (for example, not assuming it's a single character). This was noticed while trying to tighten the CONFIG_FORTIFY_SOURCE checking. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tls')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud