]> git.ipfire.org Git - thirdparty/kmod.git/commit
depmod: fix string overflow
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 10 Aug 2016 18:33:18 +0000 (15:33 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 15 Aug 2016 13:26:42 +0000 (10:26 -0300)
commitcb51a641d6d4c777ed38855b29131b8a1e941175
treec197d3dd41b8504155a4fa077f0858d4cf204a51
parent780a4e97e23f0fe961e29ea3b57f5713cfca73a8
depmod: fix string overflow

Use scratchbuf to fix issue with strcpy that may overflow the buffer we
declared in the stack.
tools/depmod.c