summaryrefslogtreecommitdiff
path: root/src/unwind/RaiseException.c
diff options
context:
space:
mode:
authorMichael Munday <mike.munday@ibm.com>2017-11-24 11:37:11 -0500
committerDave Watson <davejwatson@fb.com>2017-11-28 09:48:42 -0800
commitd784623bebaa4349527f5c28e5f446e76b7c49ef (patch)
tree0d8704c5e37e0c474c5ea89f65fe527e98e0f7a6 /src/unwind/RaiseException.c
parent02a3cc2cf3847ac4ba41913a035eff30eeca20a6 (diff)
downloadlibunwind-d784623bebaa4349527f5c28e5f446e76b7c49ef.tar.gz
dwarf: Fix size of state to avoid corrupting rs_stack
DW_CFA_remember_state used memcpy to overwrite state with the value of rs_current. Unfortunately rs_current was slightly larger than state, possibly resulting in rs_stack->next being overwritten. Fix this by making the type of state match the type of rs_current and using an assigment to perform the copy rather than memcpy. This should ensure that the types match in future.
Diffstat (limited to 'src/unwind/RaiseException.c')
0 files changed, 0 insertions, 0 deletions