mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
modutils: dont pass NULL options to init_module()
This commit is contained in:
parent
a83dbd4146
commit
0d907eab6c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user