projects
/
platform
/
core
/
system
/
swap-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60049f4
)
[FIX] Prevent issue
70/27070/3
author
Dmitry Kovalenko
<d.kovalenko@samsung.com>
Thu, 4 Sep 2014 05:37:06 +0000
(09:37 +0400)
committer
Dmitry Kovalenko
<d.kovalenko@samsung.com>
Thu, 4 Sep 2014 09:44:51 +0000
(
02:44
-0700)
Change-Id: I23746faee962765b5f8e0483e5989898a1cfe4e7
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
daemon/utils.c
patch
|
blob
|
history
diff --git
a/daemon/utils.c
b/daemon/utils.c
index
cb0b833
..
b6c88c7
100644
(file)
--- a/
daemon/utils.c
+++ b/
daemon/utils.c
@@
-392,7
+392,7
@@
int is_same_app_process(char* appPath, int pid)
char buf_res[PATH_MAX];
char tPath_res[PATH_MAX];
- str
cpy(tPath, appPath
);
+ str
ncpy(tPath, appPath, PATH_MAX - 1
);
tlen = strlen(tPath);
if(strcmp(tPath + tlen - 4, ".exe") == 0)
{