projects
/
sdk
/
tools
/
heaptrack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5b79c9
)
Fix bug with non-copied string in libbacktrace
author
Gleb Balykov
<g.balykov@samsung.com>
Thu, 14 Sep 2017 14:25:54 +0000
(17:25 +0300)
committer
Ruben Ayrapetyan
<r.ayrapetyan@samsung.com>
Thu, 14 Sep 2017 14:25:34 +0000
(17:25 +0300)
3rdparty/libbacktrace/state.c
patch
|
blob
|
history
diff --git
a/3rdparty/libbacktrace/state.c
b/3rdparty/libbacktrace/state.c
index
93420d9
..
ab611be
100644
(file)
--- a/
3rdparty/libbacktrace/state.c
+++ b/
3rdparty/libbacktrace/state.c
@@
-59,7
+59,7
@@
backtrace_create_state (const char *filename, int threaded,
#endif
memset (&init_state, 0, sizeof init_state);
- init_state.filename =
filename
;
+ init_state.filename =
strdup(filename)
;
init_state.threaded = threaded;
state = ((struct backtrace_state *)