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>
2 files changed
tree: cdab6af6a8fd5f947b66c591c50dd9c217e7836d
  1. libkmod/
  2. m4/
  3. man/
  4. shared/
  5. shell-completion/
  6. testsuite/
  7. tools/
  8. .gitignore
  9. .travis.yml
  10. bootstrap
  11. bootstrap-configure
  12. CODING-STYLE
  13. configure.ac
  14. COPYING
  15. Makefile.am
  16. NEWS
  17. README
  18. README.md
  19. TODO
README.md

kmod - Linux kernel module handling

Build Status
Coverity Scan Status

This is a mirror only. Please see README file for more information.