Skip to content
Commit 9d1b3895 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

scripts/kallsyms: fix memory corruption caused by write over-run



memcpy() writes one more byte than allocated.

Fixes: 8d605269 ("scripts/kallsyms: change table to store (strcut sym_entry *)")
Reported-by: default avataryouling257 <youling257@gmail.com>
Reported-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
Tested-by: default avatarPavel Machek <pavel@ucw.cz>
parent bb6d3fb3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment