The following issues were found by running the clang static analyser against the collection code:
- potential NULL dereference in `col_find_item_and_do()` when `property_to_find` is `NULL` but `type` is `!= 0`: - http://jhrozek.fedorapeople.org/sssd-clang-llvm/report-fFKZK7.html#EndPath - potential NULL dereference in `col_insert_item_into_current()`: - http://jhrozek.fedorapeople.org/sssd-clang-llvm/report-zLULp6.html#EndPath - http://jhrozek.fedorapeople.org/sssd-clang-llvm/report-gxYXq0.html#EndPath
Fields changed
component: SSSD => libcollection
milestone: NEEDS_TRIAGE => Tools 1.0
rhbz: => 0
Clang report run for ding-libs scan-build-2012-09-27-1.tar.bz2
blockedby: => blocking: => coverity: => design: => design_review: => 0 feature_milestone: => fedora_test_page: => patch: => 1 selected: =>
I reran latest clang scan. Seems like patches have been applied.
changelog: => resolution: => fixed review: => 0 status: new => closed
milestone: Tools Backlog => Tools 1.0.1
Metadata Update from @jhrozek: - Issue assigned to dpal - Issue set to the milestone: Tools 1.0.1