[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/17453] Two issues found by AddressSanitizer
From: |
markus at trippelsdorf dot de |
Subject: |
[Bug ld/17453] Two issues found by AddressSanitizer |
Date: |
Fri, 03 Oct 2014 14:13:20 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=17453
--- Comment #3 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
Possible fix for 2)
diff --git a/binutils/readelf.c b/binutils/readelf.c
index d9c12cc8da61..924d45f8c180 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -179,7 +179,7 @@ static Elf_Internal_Sym * dynamic_symbols;
static Elf_Internal_Syminfo * dynamic_syminfo;
static unsigned long dynamic_syminfo_offset;
static unsigned int dynamic_syminfo_nent;
-static char program_interpreter[PATH_MAX];
+static char program_interpreter[PATH_MAX + 1];
static bfd_vma dynamic_info[DT_ENCODING];
static bfd_vma dynamic_info_DT_GNU_HASH;
static bfd_vma version_info[16];
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/17453] New: Two issues found by AddressSanitizer, markus at trippelsdorf dot de, 2014/10/03
- [Bug ld/17453] Two issues found by AddressSanitizer, markus at trippelsdorf dot de, 2014/10/03
- [Bug ld/17453] Two issues found by AddressSanitizer, markus at trippelsdorf dot de, 2014/10/03
- [Bug ld/17453] Two issues found by AddressSanitizer,
markus at trippelsdorf dot de <=
- [Bug ld/17453] Two issues found by AddressSanitizer, cvs-commit at gcc dot gnu.org, 2014/10/14
- [Bug ld/17453] Two issues found by AddressSanitizer, cvs-commit at gcc dot gnu.org, 2014/10/14
- [Bug ld/17453] Two issues found by AddressSanitizer, amodra at gmail dot com, 2014/10/14