]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod-module: check for NULL before accessing pointers
authorLuca Bruno <luca.bruno@coreos.com>
Wed, 7 Mar 2018 10:51:21 +0000 (10:51 +0000)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 5 Apr 2018 21:54:43 +0000 (14:54 -0700)
commitc8f0623ad18194eedfcca69ccae1cbfe6cf5d2a8
treecdab6af6a8fd5f947b66c591c50dd9c217e7836d
parentbdf946d2cfc4bc08d82d204556a7cdbf724568da
libkmod-module: check for NULL before accessing pointers

This introduces a few missing NULL-checks in public functions, and
align their docstrings with real behavior by getting rid of copy-paste
mistakes.

Signed-off-by: Luca Bruno <luca.bruno@coreos.com>
TODO
libkmod/libkmod-module.c