diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2019-07-14 20:23:29 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2019-07-14 20:23:29 +0900 |
commit | 41e09ca4becff3d573a5c8049624c664311492ae (patch) | |
tree | 9f2975986a1aa9fd34d9eff044b8a9022a4e9f5c /addr2line.c | |
parent | a7dd6763bd1dac7952ace46be58083dbea332a0a (diff) | |
download | bundler-41e09ca4becff3d573a5c8049624c664311492ae.tar.gz |
addr2line.c (binary_filename): extend the buffer for NUL terminator
Diffstat (limited to 'addr2line.c')
-rw-r--r-- | addr2line.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addr2line.c b/addr2line.c index 45cae6a132..f6befce53e 100644 --- a/addr2line.c +++ b/addr2line.c @@ -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) |