commit | 9d1b38958b077f6c8d4bd196a115b643d7bd6717 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <masahiroy@kernel.org> | Tue Feb 11 01:18:52 2020 +0900 |
committer | Masahiro Yamada <masahiroy@kernel.org> | Tue Feb 11 05:18:09 2020 +0900 |
tree | 917975e0a1e04dfb5e3ee4c4dacd33404f090889 | |
parent | bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9 [diff] |
scripts/kallsyms: fix memory corruption caused by write over-run memcpy() writes one more byte than allocated. Fixes: 8d60526999aa ("scripts/kallsyms: change table to store (strcut sym_entry *)") Reported-by: youling257 <youling257@gmail.com> Reported-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Tested-by: Pavel Machek <pavel@ucw.cz>