diff options
author | Kees Cook <[email protected]> | 2023-06-14 11:13:11 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-06-15 11:43:29 +0200 |
commit | 09b69dd4378b91b3ac3fbac387fb992dc21c0f88 (patch) | |
tree | bc76d9055ad66a8ebeed64e622716e93ad40c692 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | df49f2a0ac4a34c0cb4b5c233fcfa0add644c43c (diff) |
usb: ch9: Replace 1-element array with flexible array
Since commit df8fc4e934c1 ("kbuild: Enable -fstrict-flex-arrays=3"),
UBSAN_BOUNDS no longer pretends 1-element arrays are unbounded. Walking
wData will trigger a warning, so make it a proper flexible array. Add a
union to keep the struct size identical for userspace in case anything
was depending on the old size.
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-lkp/[email protected]
Cc: Greg Kroah-Hartman <[email protected]>
Cc: kernel test robot <[email protected]>
Cc: "Gustavo A. R. Silva" <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: "Jó Ágila Bitsch" <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions