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:
728161b
)
modprobe-small: fix infinite looping, by Timo Teras
author
Denis Vlasenko
<vda.linux@googlemail.com>
Wed, 6 Aug 2008 09:41:09 +0000
(09:41 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Wed, 6 Aug 2008 09:41:09 +0000
(09:41 -0000)
modutils/modprobe-small.c
patch
|
blob
|
history
diff --git
a/modutils/modprobe-small.c
b/modutils/modprobe-small.c
index ac08ba7d7e60d01e65b3af6ebcf8c48887687438..06c45742b86e711a3e6c48a3cf65f06a1472387e 100644
(file)
--- a/
modutils/modprobe-small.c
+++ b/
modutils/modprobe-small.c
@@
-444,8
+444,10
@@
static module_info* find_alias(const char *alias)
if (!modinfo[i].aliases) {
parse_module(&modinfo[i], modinfo[i].pathname);
}
- if (result)
+ if (result) {
+ i++;
continue;
+ }
/* "alias1 symbol:sym1 alias2 symbol:sym2" */
desc = str_2_list(modinfo[i].aliases);
/* Does matching substring exist? */