[FS#96] segfault in kmodloader (ubox)

LEDE Bugs lede-bugs at lists.infradead.org
Wed Aug 17 06:53:29 PDT 2016


The following task has a new comment added:

FS#96 - segfault in kmodloader (ubox)
User who did this - Artox (Artox)

----------
Debugged this further:
Can be reproduced by deleting /lib/modules/
in that case:
kmodloader.c:612
init_module_folders(); // returns -1, but return value is ignored
kmodloder.c:102
returns -1 without appending a NULL element to the empty list

then
kmodloader.c:614: get_module_path gets called, and tries to dereference module_folders
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=96#comment248



More information about the lede-bugs mailing list