[Bug 1252132] [NEW] [libudev] udev_monitor does not hold a reference to struct udev

Chris Halse Rogers chris at cooperteam.net
Mon Nov 18 04:01:22 UTC 2013


Public bug reported:

struct udev_monitor contains a pointer to the struct udev context that
it's associated with, but does not increase the reference count of it's
udev context on creation nor does it decrease the reference count on
destruction.

Other udev objects which hold a reference to their struct udev context
increase/decrease the reference count appropriately; it seems struct
udev_monitor should do so also.

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1252132

Title:
  [libudev] udev_monitor does not hold a reference to struct udev

Status in “systemd” package in Ubuntu:
  New

Bug description:
  struct udev_monitor contains a pointer to the struct udev context that
  it's associated with, but does not increase the reference count of
  it's udev context on creation nor does it decrease the reference count
  on destruction.

  Other udev objects which hold a reference to their struct udev context
  increase/decrease the reference count appropriately; it seems struct
  udev_monitor should do so also.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1252132/+subscriptions



More information about the foundations-bugs mailing list