Fixed findings

List of Findings

Error: COMPILER_WARNING (CWE-569): [#def1]
libasyncns-0.8/libasyncns/asyncns.c: scope_hint: In function ‘asyncns_setuserdata’
libasyncns-0.8/libasyncns/asyncns.c:1509:5: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
# 1509 |     assert(q->asyncns = asyncns);
#      |     ^~~~~~
# 1507|       assert(q);
# 1508|       assert(asyncns);
# 1509|->     assert(q->asyncns = asyncns);
# 1510|   
# 1511|       q->userdata = userdata;

Error: COMPILER_WARNING (CWE-569): [#def2]
libasyncns-0.8/libasyncns/asyncns.c:27: included_from: Included from here.
libasyncns-0.8/libasyncns/asyncns.c:1509:12: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
# 1509 |     assert(q->asyncns = asyncns);
#      |            ^
# 1507|       assert(q);
# 1508|       assert(asyncns);
# 1509|->     assert(q->asyncns = asyncns);
# 1510|   
# 1511|       q->userdata = userdata;

Error: COMPILER_WARNING (CWE-569): [#def3]
libasyncns-0.8/libasyncns/asyncns.c: scope_hint: In function ‘asyncns_getuserdata’
libasyncns-0.8/libasyncns/asyncns.c:1517:5: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
# 1517 |     assert(q->asyncns = asyncns);
#      |     ^~~~~~
# 1515|       assert(q);
# 1516|       assert(asyncns);
# 1517|->     assert(q->asyncns = asyncns);
# 1518|   
# 1519|       return q->userdata;

Error: COMPILER_WARNING (CWE-569): [#def4]
libasyncns-0.8/libasyncns/asyncns.c:1517:12: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
# 1517 |     assert(q->asyncns = asyncns);
#      |            ^
# 1515|       assert(q);
# 1516|       assert(asyncns);
# 1517|->     assert(q->asyncns = asyncns);
# 1518|   
# 1519|       return q->userdata;

Scan Properties

analyzer-version-clippy1.97.1
analyzer-version-cppcheck2.21.1
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.97.1
diffbase-analyzer-version-cppcheck2.21.1
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-197.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namelibasyncns-0.8-35.fc45
diffbase-store-results-to/tmp/tmpn897fnmu/libasyncns-0.8-35.fc45.tar.xz
diffbase-time-created2026-08-03 16:59:22
diffbase-time-finished2026-08-03 17:00:26
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpn897fnmu/libasyncns-0.8-35.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpn897fnmu/libasyncns-0.8-35.fc45.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-197.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namelibasyncns-0.8-32.fc44
store-results-to/tmp/tmp215uus4r/libasyncns-0.8-32.fc44.tar.xz
time-created2026-08-03 16:57:19
time-finished2026-08-03 16:59:13
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmp215uus4r/libasyncns-0.8-32.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp215uus4r/libasyncns-0.8-32.fc44.src.rpm'
tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9