mirror of
https://github.com/corda/corda.git
synced 2025-05-13 14:03:27 +00:00
return null for null argument to MyArchitecture::frameIp
This commit is contained in:
parent
83aa342bc8
commit
d54ee9081b
@ -1390,7 +1390,7 @@ class MyArchitecture: public Assembler::Architecture {
|
|||||||
}
|
}
|
||||||
|
|
||||||
virtual void* frameIp(void* stack) {
|
virtual void* frameIp(void* stack) {
|
||||||
return *static_cast<void**>(stack);
|
return stack ? *static_cast<void**>(stack) : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual unsigned frameHeaderSize() {
|
virtual unsigned frameHeaderSize() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user