projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a31a1d
)
backtrace: avoid possible memory corruption have to resolve this asap;
79/21179/2
author
Geunhae LEE
<geunhae.lee@samsung.com>
Mon, 12 May 2014 10:54:19 +0000
(19:54 +0900)
committer
SeokYeon Hwang
<syeon.hwang@samsung.com>
Mon, 19 May 2014 06:54:56 +0000
(23:54 -0700)
Change-Id: Icc56eea02acfdf09017cc4bec550a9a1a6181e76
Signed-off-by: Geunhae LEE <geunhae.lee@samsung.com>
tizen/src/maru_err_table.c
patch
|
blob
|
history
diff --git
a/tizen/src/maru_err_table.c
b/tizen/src/maru_err_table.c
index
29f55d6
..
b12dcf3
100644
(file)
--- a/
tizen/src/maru_err_table.c
+++ b/
tizen/src/maru_err_table.c
@@
-265,6
+265,11
@@
void maru_dump_backtrace(void *ptr, int depth)
pTopFrame = (void *)((PCONTEXT)pContext)->Ebp;
}
+ if (pTopFrame == NULL) {
+ INFO("ebp is null, skip this for now\n");
+ return ;
+ }
+
nCount = 0;
currentFrame.pNext = ((struct frame_layout *)pTopFrame)->pNext;
currentFrame.pReturnAddr = ((struct frame_layout *)pTopFrame)->pReturnAddr;