diff options
author | Kees Cook <keescook@chromium.org> | 2018-04-10 15:26:43 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-12 21:46:10 -0400 |
commit | 08ea556e14b56e9a49b19abd8e39f0c9e05582f2 (patch) | |
tree | 23690640fee73510e7d28d6c91c5cc654c25b3fc /net | |
parent | 5d1365940a68dd57b031b6e3c07d7d451cd69daf (diff) | |
download | linux-08ea556e14b56e9a49b19abd8e39f0c9e05582f2.tar.bz2 |
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')
0 files changed, 0 insertions, 0 deletions