]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod: handle read_char errors
authorTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 10 Sep 2024 16:13:41 +0000 (18:13 +0200)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 17 Sep 2024 03:22:39 +0000 (22:22 -0500)
commit3ac86ba67f0423914616b1b3c271df54880f92f2
tree5b91b908b7d53a23ca3177d63c5436ecad2b216b
parent3cc6e5998a9fbcfdf24a26e8a44ed44ea1bddaaa
libkmod: handle read_char errors

If read_char fails, stop operations and return an error instead.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/123
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod-index.c