mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-11-23 23:10:53 +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> |
||
---|---|---|
.. | ||
.gitignore | ||
COPYING | ||
depmod.c | ||
insert.c | ||
insmod.c | ||
kmod.c | ||
kmod.h | ||
log.c | ||
log.h | ||
lsmod.c | ||
Makefile | ||
modinfo.c | ||
modprobe.c | ||
remove.c | ||
rmmod.c | ||
static-nodes.c |