kallsyms: use the correct buffer size for symbols
authorBoqun Feng <boqun.feng@gmail.com>
Tue, 28 Sep 2021 04:08:37 +0000 (12:08 +0800)
committerMiguel Ojeda <ojeda@kernel.org>
Sun, 16 Jan 2022 23:40:23 +0000 (00:40 +0100)
commit2f71526d93c31fd95e968c93784e276b0d0b0017
tree636247a3a733addbb36ddd17716fe2194a01ccb0
parent11c213b0028cebfefda818a145a6f5500aed1567
kallsyms: use the correct buffer size for symbols

The buffered name size should be larger than `KSYM_NAME_LEN`, otherwise
we cannot tell whether the size of a symbol name is too long.

Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
scripts/kallsyms.c