diff options
| author | Kees Cook <[email protected]> | 2023-05-23 16:55:02 +0000 |
|---|---|---|
| committer | Eric Biggers <[email protected]> | 2023-05-24 02:46:09 +0000 |
| commit | d617ef039fb8eec48a3424f79327220e0b7cbff7 (patch) | |
| tree | fb3e268b01fad726f608b7ac1c92dd912aafa23b /lib/string_helpers.c | |
| parent | Linux 6.4-rc3 (diff) | |
| download | kernel-d617ef039fb8eec48a3424f79327220e0b7cbff7.tar.gz kernel-d617ef039fb8eec48a3424f79327220e0b7cbff7.zip | |
fscrypt: Replace 1-element array with flexible array
1-element arrays are deprecated and are being replaced with C99
flexible arrays[1].
As sizes were being calculated with the extra byte intentionally,
propagate the difference so there is no change in binary output.
[1] https://github.com/KSPP/linux/issues/79
Cc: Eric Biggers <[email protected]>
Cc: "Theodore Y. Ts'o" <[email protected]>
Cc: Jaegeuk Kim <[email protected]>
Cc: Gustavo A. R. Silva <[email protected]>
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Eric Biggers <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
