mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-22 21:48:09 +02:00
```
../src/freedreno/decode/rddecompiler.c:242:65: error: 'sscanf' may overflow; destination buffer in argument 3 has size 32, but the corresponding specifier may require size 33 [-Werror,-Wfortify-source]
if (sscanf(info->name, "%32[A-Z0-6_][%32[x0-9]].%32s", reg_name,
^
../src/freedreno/decode/rddecompiler.c:243:21: error: 'sscanf' may overflow; destination buffer in argument 4 has size 32, but the corresponding specifier may require size 33 [-Werror,-Wfortify-source]
reg_idx, field_name) != 3) {
^
../src/freedreno/decode/rddecompiler.c:243:30: error: 'sscanf' may overflow; destination buffer in argument 5 has size 32, but the corresponding specifier may require size 33 [-Werror,-Wfortify-source]
reg_idx, field_name) != 3) {
^
```
Reviewed-by: Rob Clark <robclark@freedesktop.org>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22015>
|
||
|---|---|---|
| .. | ||
| scripts | ||
| buffers.c | ||
| buffers.h | ||
| cffdec.c | ||
| cffdec.h | ||
| cffdump.c | ||
| crashdec-hfi.c | ||
| crashdec-mempool.c | ||
| crashdec-prefetch.c | ||
| crashdec.c | ||
| crashdec.h | ||
| io.c | ||
| io.h | ||
| meson.build | ||
| pager.c | ||
| pager.h | ||
| pgmdump.c | ||
| pgmdump2.c | ||
| rdcompiler-meson.build | ||
| rdcompiler-utils.h | ||
| rddecompiler.c | ||
| rdutil.h | ||
| redump.h | ||
| replay.c | ||
| rnnutil.c | ||
| rnnutil.h | ||
| script.c | ||
| script.h | ||
| util.h | ||