projects
/
sdk
/
target
/
sdbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ec735f
)
[SECURITY][MCR]Double free issue resolved
44/188244/1
author
alkasethi
<alka.sethi@samsung.com>
Mon, 3 Sep 2018 09:08:05 +0000
(14:38 +0530)
committer
alkasethi
<alka.sethi@samsung.com>
Mon, 3 Sep 2018 09:08:05 +0000
(14:38 +0530)
Change-Id: Ic0ed347b565d522800be41f4d807c990ad163801
Signed-off-by: alkasethi <alka.sethi@samsung.com>
src/default_plugin_appcmd.c
patch
|
blob
|
history
diff --git
a/src/default_plugin_appcmd.c
b/src/default_plugin_appcmd.c
index
1c7204d
..
ef674ec
100755
(executable)
--- a/
src/default_plugin_appcmd.c
+++ b/
src/default_plugin_appcmd.c
@@
-95,9
+95,13
@@
static int appcmd_install_gen_shellcmd(appcmd_info* p_info) {
}
D("buf=%s\n", buf);
free(type);
+ type = NULL;
free(pkgpath);
+ pkgpath = NULL;
free(pkgid);
+ pkgid = NULL;
free(teppath);
+ teppath = NULL;
return 0;
}