projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d602e9
)
modprobe-small: trivial SEGV fix
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 14 Sep 2008 20:33:03 +0000
(20:33 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 14 Sep 2008 20:33:03 +0000
(20:33 -0000)
modutils/modprobe-small.c
patch
|
blob
|
history
diff --git
a/modutils/modprobe-small.c
b/modutils/modprobe-small.c
index e2bf828b7a3800630b90d305c470099cd9e25385..8e765b2eef4b9d119b0282de170575b6d200ac81 100644
(file)
--- a/
modutils/modprobe-small.c
+++ b/
modutils/modprobe-small.c
@@
-600,7
+600,7
@@
static void process_module(char *name, const char *cmdline_options)
free(deps);
/* modprobe -> load it */
- if (!is_rmmod &&
!strstr(options, "blacklist"
)) {
+ if (!is_rmmod &&
(options && !strstr(options, "blacklist")
)) {
errno = 0;
if (load_module(info->pathname, options) != 0) {
if (EEXIST != errno) {