Mailinglist Archive: opensuse-bugs (4250 mails)

< Previous Next >
[Bug 1018399] SUSE-RU-2017:0013-1 causes assert in PID1
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 05 Jan 2017 17:55:01 +0000
  • Message-id: <bug-1018399-21960-6RSMXCq5cl@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1018399
http://bugzilla.opensuse.org/show_bug.cgi?id=1018399#c1

--- Comment #1 from Peter Wullinger <wullinger@xxxxxxxxxxxxxx> ---
Created attachment 708792
--> http://bugzilla.opensuse.org/attachment.cgi?id=708792&action=edit
Add (dev) guard condition to device_is_bound_by_mounts()

This is a bona fide patch to handle the case when
device_is_bound_by_mounts(Unit *d, struct udev_device *dev) is called with (dev
== NULL), which seems to be a valid parameter combination in the calling
function.

It removes the problematic assertion and instead guards the udev property query
by a non-NULL check.

I'd really like this to be reviewed by someone more familiar with the new
bind_mounts functionality.

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
References