diff options
author | Elliott Hughes <enh@google.com> | 2021-04-02 18:02:38 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2021-04-05 17:43:36 -0700 |
commit | c0d41db92e6bffdb0e0ab1ec2cde573f522b196b (patch) | |
tree | 327e1c3316a20d11a55007f4a112d75104cf7a71 /libc/bionic/bionic_appcompat.cpp | |
parent | 87a205eefa2e12597f6d7a05db05fefbe498a292 (diff) |
setjmp/longjmp: avoid invalid values in the stack pointer.
arm64 was already being careful, but x86/x86-64 and 32-bit ARM could be
caught by a signal in a state where the stack pointer was mangled.
For 32-bit ARM I've taken care with the link register too, to avoid
potential issues with unwinding.
Bug: http://b/152210274
Test: treehugger
Change-Id: I1ce285b017a633c732dbe04743368f4cae27af85
Diffstat (limited to 'libc/bionic/bionic_appcompat.cpp')
0 files changed, 0 insertions, 0 deletions