addr2line.c (binary_filename): extend the buffer for NUL terminator
This commit is contained in:
parent
a7dd6763bd
commit
41e09ca4be
@ -187,7 +187,7 @@ struct debug_section_definition {
|
||||
};
|
||||
|
||||
/* Avoid consuming stack as this module may be used from signal handler */
|
||||
static char binary_filename[PATH_MAX];
|
||||
static char binary_filename[PATH_MAX + 1];
|
||||
|
||||
static unsigned long
|
||||
uleb128(char **p)
|
||||
|
Loading…
x
Reference in New Issue
Block a user