1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

addr2line.c (binary_filename): extend the buffer for NUL terminator

This commit is contained in:
Yusuke Endoh 2019-07-14 20:23:29 +09:00
parent a7dd6763bd
commit 41e09ca4be

View file

@ -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)