summaryrefslogtreecommitdiff
path: root/IPCThreadState.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'IPCThreadState.cpp')
-rw-r--r--IPCThreadState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/IPCThreadState.cpp b/IPCThreadState.cpp
index aa050fc..8631644 100644
--- a/IPCThreadState.cpp
+++ b/IPCThreadState.cpp
@@ -1147,7 +1147,7 @@ status_t IPCThreadState::executeCommand(int32_t cmd)
tr.offsets_size/sizeof(binder_size_t), freeBuffer, this);
const void* origServingStackPointer = mServingStackPointer;
- mServingStackPointer = &origServingStackPointer; // anything on the stack
+ mServingStackPointer = __builtin_frame_address(0);
const pid_t origPid = mCallingPid;
const char* origSid = mCallingSid;