diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-06-07 05:17:52 +0300 |
|---|---|---|
| committer | Paul Walmsley <pjw@kernel.org> | 2026-06-07 05:17:52 +0300 |
| commit | 1a9e47c2c38ad2af1916cdd4a0119e87ecb5baae (patch) | |
| tree | 03cbac9877fbccedc8652a823008bcaf022463ef /include/linux/debugobjects.h | |
| parent | a24c7f3523ff1112e8dc6c45cea7d9397345a627 (diff) | |
| download | linux-1a9e47c2c38ad2af1916cdd4a0119e87ecb5baae.tar.xz | |
riscv: ptdump: Replace unbounded sprintf() in dump_prot()
Replace the unbounded sprintf("%s", ...) with the faster and safer
strscpy(). Replace all other sprintf() calls with the safer snprintf().
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20260127110543.436242-1-thorsten.blum@linux.dev
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
