commit | 08ea556e14b56e9a49b19abd8e39f0c9e05582f2 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Tue Apr 10 15:26:43 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 12 21:46:10 2018 -0400 |
tree | 23690640fee73510e7d28d6c91c5cc654c25b3fc | |
parent | 5d1365940a68dd57b031b6e3c07d7d451cd69daf [diff] |
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>