On 04/04/17 06:16 PM, Paul Pluzhnikov wrote:
> Greetings,
> 
> In src/ppc64/Gstep.c, we use fetch32 to fetch instruction from the
> inferior process. In  UNW_REMOTE case, fetch32 asserts that the
> address we are fetching from is aligned.
> 
> But if the inferior is corrupt, we can get unaligned IP, and hit the assert.
> 
> Attached patch removes the assert, and makes fetch32 (and fetch16)
> return -UNW_EINVAL instead.

Merged, thanks.

_______________________________________________
Libunwind-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to