← Commit list

0d907eab6

Denis Vlasenko
Denis Vlasenko
2009-03-29
FAILED Duration: 30s

Subject

modutils: dont pass NULL options to init_module()

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/modutils.c+1 -1
@@ -127,7 +127,7 @@ int FAST_FUNC bb_init_module(const char *filename, const char *options)
image = xmalloc_open_zipped_read_close(filename, &len);
if (image) {
rc = 0;
- if (init_module(image, len, options) != 0)
+ if (init_module(image, len, options ? options : "") != 0)
rc = errno;
free(image);
}