← Commit list

bdf6319d3

Glenn L McGrath
Glenn L McGrath
2004-09-24
FAILED Duration: 25s

Subject

Patch from Egor Duda Attached patch prevents modprobe from trying to call 'insmod (null)' whenever nonexistent module is either passed to modprobe via command line or mentioned in modules.dep

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

modutils/modprobe.c+5 -0
@@ -470,6 +470,11 @@ static void check_dep ( char *mod, struct mod_list_t **head, struct mod_list_t *
return;
}
+ if ( !path ) {
+ bb_error_msg ("module %s not found.", mod);
+ return;
+ }
+
// search for duplicates
for ( find = *head; find; find = find-> m_next ) {
if ( !strcmp ( mod, find-> m_name )) {