Fixed findings

List of Findings

Error: COMPILER_WARNING (CWE-685): [#def1]
rygel-0.43.0-build/rygel-0.43.0/src/librygel-server/rygel-import-resource.vala:171:16: warning[-Wformat-extra-args]: too many arguments for format
#  171 |                 warning ("Importing sizes did not match: %z vs. %z", this.bytes_total, this.bytes_copied);
#      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmessages.h:364:32: note: in definition of macro ‘g_warning’
#  364 |                                __VA_ARGS__)
#      |                                ^~~~~~~~~~~
#  169|                   this.bytes_total = this.bytes_copied;
#  170|               } else if (this.bytes_total != this.bytes_copied) {
#  171|->                 warning ("Importing sizes did not match: %z vs. %z", this.bytes_total, this.bytes_copied);
#  172|                   this.status = TransferStatus.ERROR;
#  173|               }

Error: COMPILER_WARNING: [#def2]
rygel-0.43.0-build/rygel-0.43.0/src/librygel-server/rygel-import-resource.vala:171:16: warning[-Wformat=]: conversion lacks type at end of format
#  171 |                 warning ("Importing sizes did not match: %z vs. %z", this.bytes_total, this.bytes_copied);
#      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmessages.h:364:32: note: in definition of macro ‘g_warning’
#  364 |                                __VA_ARGS__)
#      |                                ^~~~~~~~~~~
#  169|                   this.bytes_total = this.bytes_copied;
#  170|               } else if (this.bytes_total != this.bytes_copied) {
#  171|->                 warning ("Importing sizes did not match: %z vs. %z", this.bytes_total, this.bytes_copied);
#  172|                   this.status = TransferStatus.ERROR;
#  173|               }

Error: COMPILER_WARNING: [#def3]
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
rygel-0.43.0-build/rygel-0.43.0/src/librygel-server/rygel-import-resource.vala: scope_hint: In function ‘rygel_import_resource_real_run_co’
rygel-0.43.0-build/rygel-0.43.0/src/librygel-server/rygel-import-resource.vala:171:16: warning[-Wformat=]: unknown conversion type character ‘ ’ in format
#  171 |                 warning ("Importing sizes did not match: %z vs. %z", this.bytes_total, this.bytes_copied);
#      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmessages.h:364:32: note: in definition of macro ‘g_warning’
#  364 |                                __VA_ARGS__)
#      |                                ^~~~~~~~~~~
#  169|                   this.bytes_total = this.bytes_copied;
#  170|               } else if (this.bytes_total != this.bytes_copied) {
#  171|->                 warning ("Importing sizes did not match: %z vs. %z", this.bytes_total, this.bytes_copied);
#  172|                   this.status = TransferStatus.ERROR;
#  173|               }

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.82.0
diffbase-analyzer-version-cppcheck2.16.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer15.0.0
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-8.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-namerygel-0.44.1-1.fc42
diffbase-store-results-to/tmp/tmp93i6vjk4/rygel-0.44.1-1.fc42.tar.xz
diffbase-time-created2024-11-13 03:21:07
diffbase-time-finished2024-11-13 03:27:52
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp93i6vjk4/rygel-0.44.1-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp93i6vjk4/rygel-0.44.1-1.fc42.src.rpm'
diffbase-tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-8.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namerygel-0.43.0-2.fc41
store-results-to/tmp/tmpxx0cpuer/rygel-0.43.0-2.fc41.tar.xz
time-created2024-11-13 03:13:35
time-finished2024-11-13 03:20:47
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpxx0cpuer/rygel-0.43.0-2.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpxx0cpuer/rygel-0.43.0-2.fc41.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9