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>
Fri, 11 Feb 2022 02:20:25 +0000 (03:20 +0100)
commitb9b3d2668aa3d4bb045a8f9770295820a45595f1
treeb0c5409cd1fa7e29bef60bf25568ca5d6c70d69c
parentcfe3334b8734fa6a96d94363af87870e863474bc
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