]> git.ipfire.org Git - thirdparty/kmod.git/commit
Verify absolute path creation
authorTobias Stoeckmann <tobias@stoeckmann.org>
Fri, 16 Aug 2024 21:49:18 +0000 (23:49 +0200)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Sat, 17 Aug 2024 17:14:16 +0000 (12:14 -0500)
commita5031e2811baf2b277ac718c90e3031aea4ec079
treefbded522c52196a7acfc95614c804afc44c2840a
parenteacbb467bc3fef420f114b25a5989fb947a76e4a
Verify absolute path creation

If a relative path is supplied, the conversion to an absolute path can
fail, e.g. if current working directory does not exist anymore.

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