Commit eb2c1a3
committed
fix(driver): use correct syntax for flexible array member
UBSAN (Undefined Behaviour Sanitizer) performs compile-time and runtime
checks based on declared array bounds. Flaxible Array Member used to be
declared with the [0] synthax, but should now be expressed with []
syntax to respect C99 standard (§6.7.2.1).
Signed-off-by: irozzo-1A <[email protected]>1 parent d4fb9de commit eb2c1a3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2299 | 2299 | | |
2300 | 2300 | | |
2301 | 2301 | | |
2302 | | - | |
| 2302 | + | |
2303 | 2303 | | |
2304 | 2304 | | |
2305 | 2305 | | |
| |||
0 commit comments