bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/12778] arm-linux-gnueabi-ld: segfault in elf32_arm_gc_sweep_hook


From: r.krypa at samsung dot com
Subject: [Bug ld/12778] arm-linux-gnueabi-ld: segfault in elf32_arm_gc_sweep_hook
Date: Wed, 18 May 2011 12:01:04 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12778

--- Comment #1 from RafaƂ Krypa <r.krypa at samsung dot com> 2011-05-18 
12:00:46 UTC ---
Created attachment 5734
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5734
elf32-arm.c (elf32_arm_gc_sweep_hook): Don't reinitialize pp to avoid null
pointer dereference.

I think that I found the cause of the bug. Bisecting the git repository showed
that commit 740e291 (http://bit.ly/mA8nk7) introcuded it. Clearly the
initialization in for() loop at line 12041 should go away to avoid null pointer
dereference, as happened here.

-- 
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.



reply via email to

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