URL: https://github.com/SSSD/sssd/pull/34
Title: #34: cache_req: move from switch to plugins

jhrozek commented:
"""
Actually, sorry, one more Coverity warning:
```
Error: FORWARD_NULL (CWE-476):
sssd-1.14.2/src/responder/common/cache_req/cache_req_search.c:105: 
var_compare_op: Comparing "result" to null implies that "result" might be null.
sssd-1.14.2/src/responder/common/cache_req/cache_req_search.c:111: 
var_deref_op: Dereferencing null pointer "result".
#  109|       switch (ret) {
#  110|       case EOK:
#  111|->         if (cr->plugin->only_one_result && result->count > 1) {
#  112|               CACHE_REQ_DEBUG(SSSDBG_CRIT_FAILURE, cr,
#  113|                               "Multiple objects were found when "
```
"""

See the full comment at 
https://github.com/SSSD/sssd/pull/34#issuecomment-253792257
_______________________________________________
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org

Reply via email to