forked from Imagelibrary/binutils-gdb
Fix an unitinitalised local variable in decode_arm_unwind().
PR 24661 * readelf.c (decode_arm_unwind): Ensure that the local variable 'addr' is always initialised.
This commit is contained in:
committed by
Nick Clifton
parent
89549d7f4d
commit
c93dbb25ac
@@ -9029,6 +9029,11 @@ decode_arm_unwind (Filedata * filedata,
|
||||
|
||||
remaining = 4;
|
||||
}
|
||||
else
|
||||
{
|
||||
addr.section = SHN_UNDEF;
|
||||
addr.offset = 0;
|
||||
}
|
||||
|
||||
if ((word & 0x80000000) == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user