[Bugme-new] [Bug 10663] New: [audit.c:575]: Memory leak: reply

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Sat May 10 05:36:43 PDT 2008


http://bugzilla.kernel.org/show_bug.cgi?id=10663

           Summary: [audit.c:575]: Memory leak: reply
           Product: Other
           Version: 2.5
     KernelVersion: latest git tree
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
        AssignedTo: other_other at kernel-bugs.osdl.org
        ReportedBy: danielm77 at spray.se


The 'reply' is not deallocated if skb becomes NULL:

        struct audit_reply *reply = kmalloc(sizeof(struct audit_reply),
                                            GFP_KERNEL);

        if (!reply)
                return;

        skb = audit_make_reply(pid, seq, type, done, multi, payload, size);
        if (!skb)
                return;


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the Bugme-new mailing list