chiark / gitweb /
mount: don't try to initialize extra deps for mount units before initializing their...
authorLennart Poettering <lennart@poettering.net>
Tue, 16 Oct 2012 17:50:26 +0000 (19:50 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 16 Oct 2012 17:50:26 +0000 (19:50 +0200)
commitb87705cdd2f791f8520edb78791d3e6f78afd481
treed848be1753e3ac2537d9183a751396d4e6837200
parent770858811930c0658b189d980159ea1ac5663467
mount: don't try to initialize extra deps for mount units before initializing their basic fields

Under some circumstances this could lead to a segfault since we we
half-initialized a mount unit, then tried to hook it into the network of
things and while doing that recursively ended up looking at our
half-initialized mount unit again assuming it was fully initialized.
src/core/mount.c
src/core/socket.c