]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/path: add error handling to path_vcreate()
authorRuediger Meier <ruediger.meier@ga-group.nl>
Tue, 27 Jun 2017 18:33:08 +0000 (20:33 +0200)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Thu, 29 Jun 2017 12:03:49 +0000 (14:03 +0200)
commitf567220b716ee096cf6c094ab27dcdabaaa192f6
tree156828e9f82112b3d32d5074cd3612bc8862815e
parente230ae7b68814a2ea560e5138188a58128e34417
lib/path: add error handling to path_vcreate()

Do not operate on truncated/random paths. Note, path_strdup()
can now really return NULL, to be handled in next commit.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
lib/path.c