summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorLuca Bruno <luca.bruno@coreos.com>2018-03-07 10:51:21 +0000
committerLucas De Marchi <lucas.demarchi@intel.com>2018-04-05 14:54:43 -0700
commitc8f0623ad18194eedfcca69ccae1cbfe6cf5d2a8 (patch)
treecdab6af6a8fd5f947b66c591c50dd9c217e7836d /TODO
parentbdf946d2cfc4bc08d82d204556a7cdbf724568da (diff)
downloadkmod-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--TODO5
1 files changed, 5 insertions, 0 deletions
diff --git a/TODO b/TODO
index 537e7e1..3fe06eb 100644
--- a/TODO
+++ b/TODO
@@ -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