projects
/
platform
/
core
/
system
/
swap-probe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
193618b
)
[FIX] Prevent issue
69/27069/2
author
Dmitry Kovalenko
<d.kovalenko@samsung.com>
Thu, 4 Sep 2014 05:35:19 +0000
(09:35 +0400)
committer
Dmitry Kovalenko
<d.kovalenko@samsung.com>
Thu, 4 Sep 2014 09:41:11 +0000
(13:41 +0400)
Change-Id: Iaf09a97b06b0fcf108e678014d7ff499e0c58d13
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
helper/btsym.c
patch
|
blob
|
history
diff --git
a/helper/btsym.c
b/helper/btsym.c
index 8a6a5d7342e7b4bd6497755462f5ff848ff22cee..95f01e705a82780326558d5a33b48ad456845597 100755
(executable)
--- a/
helper/btsym.c
+++ b/
helper/btsym.c
@@
-336,7
+336,7
@@
char** da_backtrace_symbols (void* const* array, int size)
/* If this is the main program the information is incomplete. */
if (map->l_name[0] == '\0' && map->l_type == lt_executable)
{
- str
cpy(filepath, program_invocation_name
);
+ str
ncpy(filepath, program_invocation_name, FILEPATH_MAX - 1
);
}
else
{