[systemd-bugs] [Bug 78752] New: incorrect return value in timesyncd.c:manager_new

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 15 11:23:22 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=78752

          Priority: medium
            Bug ID: 78752
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: incorrect return value in timesyncd.c:manager_new
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: minor
    Classification: Unclassified
                OS: All
          Reporter: chpe at gnome.org
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

It looks to me like in one error return path the wrong value is returned in
src/timesync/timesyncd.c:manager_new():

         r = sd_resolve_attach_event(m->resolve, m->event, 0);
         if (r < 0)
-                return 0;
+                return r;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140515/1cba31fe/attachment.html>


More information about the systemd-bugs mailing list