projects
/
platform
/
core
/
system
/
faultd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80d0762
)
modules: Fix segfault in no-modules configuration
01/147001/1
author
Paweł Szewczyk
<p.szewczyk@samsung.com>
Thu, 31 Aug 2017 12:18:06 +0000
(14:18 +0200)
committer
Paweł Szewczyk
<p.szewczyk@samsung.com>
Thu, 31 Aug 2017 12:18:06 +0000
(14:18 +0200)
Change-Id: I2ef4447742c765f8537a8e86f33cf7af773af14b
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
src/core/module.c
patch
|
blob
|
history
diff --git
a/src/core/module.c
b/src/core/module.c
index 7638a3c5b6ea59175bf3a38c4cda5056e85e1311..7f5323451f60393f35c3e8d2f06213306122dcb2 100644
(file)
--- a/
src/core/module.c
+++ b/
src/core/module.c
@@
-185,7
+185,7
@@
int faultd_modules_load()
{
int ret, num;
struct dirent **namelist;
- char *filename;
+ char *filename
= NULL
;
struct dl_module *mod;
num = scandir(FAULTD_MODULES_PATH, &namelist, module_file_filter, alphasort);