Task #104822 - added.err
back to task #104822download
Error: CPPCHECK_WARNING (CWE-570):
avahi-0.9.rc3/avahi-daemon/simple-protocol.c:543: style[knownConditionTrueFalse]: Condition 'credentials_getsockopt(cfd,cred,&len)!=0' is always false
# 541|
# 542| n_clients = s->n_clients + 1;
# 543|-> if (credentials_getsockopt(cfd, cred, &len) != 0) {
# 544| avahi_log_error("credentials_getsockopt(%d): %s", cfd, strerror(errno));
# 545| return 0;
Error: CPPCHECK_WARNING (CWE-570):
avahi-0.9.rc3/avahi-daemon/simple-protocol.c:555: style[knownConditionTrueFalse]: Condition 'uid!=0' is always false
# 553|
# 554| uid = credentials_getuid(cred);
# 555|-> if (uid != 0 && n_clients > s->max_uid_clients) {
# 556| // There is enough clients to reach limit for one UID.
# 557| // Check this UID does not have too many requests already.