]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod-module: Don't pass NULL pointer to memcpy
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 23 Apr 2013 23:33:13 +0000 (20:33 -0300)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Wed, 24 Apr 2013 00:26:08 +0000 (21:26 -0300)
commit818af4f6fa925a2affdc6d65e9d18d6922b11baf
tree0521cefc163c1bac1c1ba305da15578b23517eae
parenteb978f10bd3ba10fb8e14026209ba4a0cb947ff8
libkmod-module: Don't pass NULL pointer to memcpy

When passing n=0, don't pass a NULL pointer, but instead pass anything
else (like the pointer to the start of the string).
CODING-STYLE
libkmod/libkmod-module.c