bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/20933] LD: Buffer Overflow if linker script does not exist


From: boehme.marcel at gmail dot com
Subject: [Bug ld/20933] LD: Buffer Overflow if linker script does not exist
Date: Wed, 07 Dec 2016 04:03:52 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20933

--- Comment #2 from Marcel Böhme <boehme.marcel at gmail dot com> ---
Hi Nick,

I can still reproduce the problem on the latest sources from trunk on Ubuntu
14.04 x86_64.

$ rm test
$ valgrind ld/ld-new -T test
==22837== Memcheck, a memory error detector
==22837== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==22837== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==22837== Command: ld/ld-new -T a
==22837== 
==22837== Invalid read of size 4
==22837==    at 0x92C638: make_relative_prefix_1 (make-relative-prefix.c:385)
==22837==    by 0x4B97B7: find_scripts_dir (ldfile.c:518)
==22837==    by 0x4B97B7: ldfile_find_command_file (ldfile.c:554)
==22837==    by 0x4B97B7: ldfile_open_command_file_1 (ldfile.c:594)
==22837==    by 0x42B43C: parse_args (lexsup.c:1219)
==22837==    by 0x40CBFD: main (ldmain.c:312)

Best regards,
- Marcel

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]