]> git.ipfire.org Git - thirdparty/systemd.git/commit
core:namespace: count and free failed paths inside chase_all_symlinks() (#4619)
authorDjalal Harouni <tixxdz@opendz.org>
Thu, 10 Nov 2016 17:11:37 +0000 (18:11 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 10 Nov 2016 17:11:37 +0000 (12:11 -0500)
commit1d54cd5d255065c8659ca68d2591e810e6104714
tree1499c21666390234cc45ab81d7b1482ab73a72d5
parent843d5baf6aad6c53fc00ea8d95d83209a4f92de1
core:namespace: count and free failed paths inside chase_all_symlinks() (#4619)

This certainly fixes a bug that was introduced by PR
https://github.com/systemd/systemd/pull/4594 that intended to fix
https://github.com/systemd/systemd/issues/4567.

The fix was not complete. This patch makes sure that we count and free
all paths that fail inside chase_all_symlinks().

Fixes https://github.com/systemd/systemd/issues/4567
src/core/namespace.c