diff options
author | Luca Bruno <luca.bruno@coreos.com> | 2018-03-07 10:51:21 +0000 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2018-04-05 14:54:43 -0700 |
commit | c8f0623ad18194eedfcca69ccae1cbfe6cf5d2a8 (patch) | |
tree | cdab6af6a8fd5f947b66c591c50dd9c217e7836d /TODO | |
parent | bdf946d2cfc4bc08d82d204556a7cdbf724568da (diff) | |
download | kmod-c8f0623ad18194eedfcca69ccae1cbfe6cf5d2a8.tar.gz |
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>
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -35,6 +35,11 @@ and libkmod - kmod_module_symbols_free_list() - kmod_module_dependency_symbols_free_list() +* libkmod API breaking changes: + - dedicated error value for all kmod_*_get_crc() functions. Currently there + is no way for callers to distinguish between a valid CRC=0 and the error + code 0. + * index: drop the "open(), seek(), read()" implementation and use another one with mmap(). When lookup() is called and the file is not mmaped, mmap it. Another possibility is to drop the mmap implementation relying on VFS to have |