[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/13288] gold silently accepts truncated ELF input
From: |
ccoutant at google dot com |
Subject: |
[Bug gold/13288] gold silently accepts truncated ELF input |
Date: |
Wed, 12 Oct 2011 22:11:42 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=13288
--- Comment #1 from Cary Coutant <ccoutant at google dot com> 2011-10-12
22:11:42 UTC ---
With --map-whole-files, gold doesn't bother to check that the requested view is
wholly contained within the file. With --no-map-whole-files, we get the
expected error:
$ ./ld-new --no-map-whole-files -r foo-truncated.o
./ld-new: fatal error: foo-truncated.o: attempt to map 24 bytes at offset 1192
exceeds size of file; the file may be corrupt
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug gold/13288] New: gold silently accepts truncated ELF input, zub at linux dot fjfi.cvut.cz, 2011/10/12
- [Bug gold/13288] gold silently accepts truncated ELF input, zub at linux dot fjfi.cvut.cz, 2011/10/12
- [Bug gold/13288] gold silently accepts truncated ELF input,
ccoutant at google dot com <=
- [Bug gold/13288] gold silently accepts truncated ELF input, ccoutant at google dot com, 2011/10/12
- [Bug gold/13288] gold silently accepts truncated ELF input, ccoutant at google dot com, 2011/10/13
- [Bug gold/13288] gold silently accepts truncated ELF input, cvs-commit at gcc dot gnu.org, 2011/10/17
- [Bug gold/13288] gold silently accepts truncated ELF input, ccoutant at google dot com, 2011/10/17