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:
parent
89549d7f4d
commit
c93dbb25ac
2 changed files with 11 additions and 0 deletions
|
@ -9029,6 +9029,11 @@ decode_arm_unwind (Filedata * filedata,
|
|||
|
||||
remaining = 4;
|
||||
}
|
||||
else
|
||||
{
|
||||
addr.section = SHN_UNDEF;
|
||||
addr.offset = 0;
|
||||
}
|
||||
|
||||
if ((word & 0x80000000) == 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue