diff options
| author | Francois Berder <[email protected]> | 2026-05-21 15:05:44 +0200 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2026-05-25 15:14:05 +0200 |
| commit | 8a5989acc6ff1430a2775178d2e6b0b5d4573247 (patch) | |
| tree | ef1e215f32898f079c07bcddb268b44e7f59dcce /cmd/setexpr.c | |
| parent | 9793931f36d585878305ff0bf907b32138673b95 (diff) | |
arm64: versal2: Fix buffer overflow in soc_name_decode
The size of name buffer was not computed correctly.
The suffix format is "--rel.-el" (9 chars instead of 6),
and the longest platform name is "emu-mmd" (7 chars instead of 4).
Fix comment and name size.
Fixes: 40f5046c221a ("arm64: versal2: Add support for AMD Versal Gen 2")
Signed-off-by: Francois Berder <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Link: https://lore.kernel.org/r/BESP194MB280513B376D54A815F3FD507DA0E2@BESP194MB2805.EURP194.PROD.OUTLOOK.COM
Diffstat (limited to 'cmd/setexpr.c')
0 files changed, 0 insertions, 0 deletions
