]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod: check strbuf return values
authorTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 24 Sep 2024 18:56:40 +0000 (20:56 +0200)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 1 Oct 2024 14:23:31 +0000 (09:23 -0500)
commit889d02b1650229154be7289181d93b9a203a39a2
tree03d5d9c5595251785a6c0081d7041fd6497e9ad0
parent8c2d7125e83f5bc259b39ae33b92b895c14bf483
libkmod: check strbuf return values

The strbuf functions may fail, so handle errors. Make especially sure
that push and pop operations stay in sync.

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/152
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod-index.c