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
@ -1,3 +1,9 @@
|
||||
2019-06-11 Christos Zoulas <christos@zoulas.com>
|
||||
|
||||
PR 24661
|
||||
* readelf.c (decode_arm_unwind): Ensure that the local variable
|
||||
'addr' is always initialised.
|
||||
|
||||
2019-06-10 Christos Zoulas <christos@zoulas.com>
|
||||
|
||||
PR 24651
|
||||
|
@ -9029,6 +9029,11 @@ decode_arm_unwind (Filedata * filedata,
|
||||
|
||||
remaining = 4;
|
||||
}
|
||||
else
|
||||
{
|
||||
addr.section = SHN_UNDEF;
|
||||
addr.offset = 0;
|
||||
}
|
||||
|
||||
if ((word & 0x80000000) == 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user