#574 [Collection] potential NULL dereferences
Closed: Fixed None Opened 13 years ago by jhrozek.

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

Fields changed

component: SSSD => libcollection

Fields changed

component: SSSD => libcollection

Fields changed

milestone: NEEDS_TRIAGE => Tools 1.0

Fields changed

milestone: NEEDS_TRIAGE => Tools 1.0

Fields changed

milestone: NEEDS_TRIAGE => Tools 1.0

Fields changed

rhbz: => 0

Fields changed

rhbz: => 0

Fields changed

rhbz: => 0

Fields changed

blockedby: =>
blocking: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
patch: => 1
selected: =>

Fields changed

blockedby: =>
blocking: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
patch: => 1
selected: =>

Fields changed

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

I reran latest clang scan. Seems like patches have been applied.

changelog: =>
resolution: => fixed
review: => 0
status: new => closed

I reran latest clang scan. Seems like patches have been applied.

changelog: =>
resolution: => fixed
review: => 0
status: new => closed

Fields changed

milestone: Tools Backlog => Tools 1.0.1

Fields changed

milestone: Tools Backlog => Tools 1.0.1

Fields changed

milestone: Tools Backlog => Tools 1.0.1

Metadata Update from @jhrozek:
- Issue assigned to dpal
- Issue set to the milestone: Tools 1.0.1

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/1616

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata