mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-12-18 12:37:29 +07:00
6b77f18896
Only print actual cyclic dependencies. Print count of all the modules in cyclic dependency at the end of the function so that dependent modules which are not in cyclic chain can be ignored. Printing dependent modules which are not in cyclic chain causes buffer overflow as m->modnamesz is not included in buffer size calculations (loop == m is never true). This buffer overflow causes kmod to crash. Update depmod test to reflect the change as well. Reported-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@suse.com> |
||
---|---|---|
.. | ||
detect-loop | ||
modules-order-compressed/lib/modules/4.4.4 | ||
search-order-same-prefix | ||
search-order-simple |