kmod/tools
Masahiro Yamada 757b359923 modprobe: fix the NULL-termination of new_argv
The number of new arguments is (i + argc - 1) as it is set to *p_argc
one line below.

The correct location of NULL termination is new_argv[i + argc - 1].

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
2022-04-04 08:14:40 -07:00
..
.gitignore tools: Use test/kmod instead of kmod-nolib 2013-07-02 21:15:54 -03:00
COPYING Clarify what licences apply where 2014-10-09 01:26:34 -03:00
depmod.c depmod: Add support for excluding a directory 2022-04-01 21:44:15 -07:00
insert.c tools: add basic versions of insert and remove 2015-03-07 12:09:51 -03:00
insmod.c insmod: fix wron fallthrough of -f 2015-11-20 19:26:33 -02:00
kmod.c tools: display features in --version 2015-06-08 22:38:02 -03:00
kmod.h tools: add basic versions of insert and remove 2015-03-07 12:09:51 -03:00
log.c Change default log level 2015-09-30 15:17:01 -03:00
log.h Add format attribute and fix issues 2013-04-21 16:17:12 -03:00
lsmod.c Fix spurious spaces in lsmod output 2015-04-16 08:46:43 -03:00
Makefile build-sys: add small redirecting Makefiles 2014-03-06 01:59:58 -03:00
modinfo.c modinfo: Allow to force arg as module name 2022-02-20 20:58:25 -08:00
modprobe.c modprobe: fix the NULL-termination of new_argv 2022-04-04 08:14:40 -07:00
remove.c tools: Print a message if refcnt attribute is missing 2019-03-08 13:06:52 -08:00
rmmod.c tools: Print a message if refcnt attribute is missing 2019-03-08 13:06:52 -08:00
static-nodes.c static-nodes: indicate that creation of static nodes should only happen at boot 2014-10-28 16:49:46 -02:00