diff options
Diffstat (limited to 'src/readelf.c')
| -rw-r--r-- | src/readelf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/readelf.c b/src/readelf.c index 6ac45111..11a9b0e7 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -9721,7 +9721,7 @@ print_debug_macro_section (Dwfl_Module *dwflmod __attribute__ ((unused)), ? cu->die.cu : NULL)); - const unsigned char *vendor[DW_MACRO_hi_user - DW_MACRO_lo_user]; + const unsigned char *vendor[DW_MACRO_hi_user - DW_MACRO_lo_user + 1]; memset (vendor, 0, sizeof vendor); if (flag & 0x04) { |
