mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-23 03:53:43 +01:00
Fix second operand read in dwarf_eval_expr()
Due to bad bracketing, the second operand was never read for dwarf expressions that take two operands. Caught with sparse.
This commit is contained in:
parent
65bdcc6f9d
commit
22aff2cc1f
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ do { \
|
|||
OPND1_TYPE (operands_signature),
|
||||
&operand1, arg)) < 0)
|
||||
return ret;
|
||||
if (NUM_OPERANDS (operands_signature > 1))
|
||||
if (NUM_OPERANDS (operands_signature) > 1)
|
||||
if ((ret = read_operand (as, a, addr,
|
||||
OPND2_TYPE (operands_signature),
|
||||
&operand2, arg)) < 0)
|
||||
|
|
Loading…
Reference in a new issue