nspawn: the second time on_orderly_shutdown() is called userdata is NULL (#38709)
We know that it is, because we set it to NULL in the very same on_orderly_shutdown() call.
This commit is contained in:
+1
-1
@@ -2959,7 +2959,7 @@ static int wait_for_container(PidRef *pid, ContainerStatus *container) {
|
||||
}
|
||||
|
||||
static int on_orderly_shutdown(sd_event_source *s, const struct signalfd_siginfo *si, void *userdata) {
|
||||
PidRef *pid = ASSERT_PTR(userdata);
|
||||
PidRef *pid = userdata;
|
||||
|
||||
assert(si);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user