]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod: smoke test all the API
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 6 Sep 2024 21:40:03 +0000 (22:40 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Sat, 7 Sep 2024 15:16:25 +0000 (10:16 -0500)
commit4731bed9df2c793004473dd408b80cd90d22071c
treee3677357a4f6eab2008542eaafdd6a3f63c8f65c
parent3b7670f9ebfc07b37fbdfd230e3355ae8a6f1c4b
libkmod: smoke test all the API

Aka make sure the library does not crash if we give it a NULL as input
argument.

All entry-points but kmod_config_iter_free_iter look to be safe. Update
the final instance.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/111
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod-config.c