projects
/
openwrt-14.07
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
BB: ubox: fix segmentation fault in insmod
[openwrt-14.07/.git]
/
package
/
system
/
ubox
/
patches
/
100-insmod-segfault.patch
1
--- a/kmodloader.c
2
+++ b/kmodloader.c
3
@@ -605,6 +605,9 @@ static int main_insmod(int argc, char **
4
cur += sprintf(cur, "%s", argv[i]);
5
}
6
7
+ if (init_module_folders())
8
+ return -1;
9
+
10
if (get_module_path(argv[1])) {
11
name = argv[1];
12
} else if (!get_module_path(name)) {