[openib-general] [Bug 11] New: [CHECKER] Return value of idr_find not checked for NULL

bugzilla-daemon at openib.org bugzilla-daemon at openib.org
Tue Mar 7 22:18:24 PST 2006


http://openib.org/bugzilla/show_bug.cgi?id=11

           Summary: [CHECKER] Return value of idr_find not checked for NULL
           Product: OpenIB
           Version: gen2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Verbs
        AssignedTo: bugzilla at openib.org
        ReportedBy: bos at pathscale.com


This is unlikely to be a real bug, but idr_find *can* return NULL.  In our case,
whoever added something to the idr probably bombed out if the add failed, so we
won't get called.  Maybe :-)

See drivers/infiniband/core/uverbs_main.c:ib_uverbs_cleanup_ucontext



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the general mailing list