Skip to content

Commit 3cca832

Browse files
committed
fix: sym_lookup_proc crashed on Linux Kernel 6.2.0-23
Parsing sym to cname into crash, Length of cname set to 256 can handle this. uname -a: Linux pc1 6.2.0-23-generic #23-Ubuntu SMP PREEMPT_DYNAMIC Wed May 17 16:55:20 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
1 parent 7570419 commit 3cca832

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

component/parse_sym.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <stdbool.h>
55
#include <stdlib.h>
66

7-
#define MAX_SYM_LENGTH 128
7+
#define MAX_SYM_LENGTH 256
88
#define MAX_SYM_ADDR_LENGTH (MAX_SYM_LENGTH + 8)
99

1010
enum {

0 commit comments

Comments
 (0)