summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-06-07 05:17:52 +0300
committerPaul Walmsley <pjw@kernel.org>2026-06-07 05:17:52 +0300
commit1a9e47c2c38ad2af1916cdd4a0119e87ecb5baae (patch)
tree03cbac9877fbccedc8652a823008bcaf022463ef /include
parenta24c7f3523ff1112e8dc6c45cea7d9397345a627 (diff)
downloadlinux-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')
0 files changed, 0 insertions, 0 deletions