Fixed defects

List of Defects

Error: COMPILER_WARNING (CWE-477): [#def1]
gupnp-av-0.14.1-build/gupnp-av-0.14.1/libgupnp-av/gupnp-didl-lite-parser.c: scope_hint: In function ‘gupnp_didl_lite_parser_parse_didl_recursive’
gupnp-av-0.14.1-build/gupnp-av-0.14.1/libgupnp-av/gupnp-didl-lite-parser.c:233:9: warning[-Wdeprecated-declarations]: ‘xmlRecoverMemory’ is deprecated
#  233 |         doc = xmlRecoverMemory (didl, strlen (didl));
#      |         ^~~
/usr/include/libxml2/libxml/tree.h:17: included_from: Included from here.
gupnp-av-0.14.1-build/gupnp-av-0.14.1/libgupnp-av/gupnp-didl-lite-object.h:20: included_from: Included from here.
gupnp-av-0.14.1-build/gupnp-av-0.14.1/libgupnp-av/gupnp-av.h:13: included_from: Included from here.
gupnp-av-0.14.1-build/gupnp-av-0.14.1/libgupnp-av/gupnp-didl-lite-parser.c:22: included_from: Included from here.
/usr/include/libxml2/libxml/parser.h:988:17: note: declared here
#  988 |                 xmlRecoverMemory        (const char *buffer,
#      |                 ^~~~~~~~~~~~~~~~
#  231|           gboolean       result;
#  232|   
#  233|->         doc = xmlRecoverMemory (didl, strlen (didl));
#  234|           if (doc == NULL) {
#  235|                   g_set_error (error,

Error: COMPILER_WARNING (CWE-477): [#def2]
gupnp-av-0.14.1-build/gupnp-av-0.14.1/libgupnp-av/gupnp-feature-list-parser.c: scope_hint: In function ‘gupnp_feature_list_parser_parse_text’
gupnp-av-0.14.1-build/gupnp-av-0.14.1/libgupnp-av/gupnp-feature-list-parser.c:117:9: warning[-Wdeprecated-declarations]: ‘xmlRecoverMemory’ is deprecated
/usr/include/libxml2/libxml/tree.h:17: included_from: Included from here.
gupnp-av-0.14.1-build/gupnp-av-0.14.1/libgupnp-av/gupnp-didl-lite-object.h:20: included_from: Included from here.
gupnp-av-0.14.1-build/gupnp-av-0.14.1/libgupnp-av/gupnp-av.h:13: included_from: Included from here.
gupnp-av-0.14.1-build/gupnp-av-0.14.1/libgupnp-av/gupnp-feature-list-parser.c:23: included_from: Included from here.
/usr/include/libxml2/libxml/parser.h:988:17: note: declared here
#  115|           GList        *feature_list = NULL;
#  116|   
#  117|->         doc = xmlRecoverMemory (text, strlen (text));
#  118|           if (doc == NULL) {
#  119|                   g_set_error (error,

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-199.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namegupnp-av-0.14.1-6.fc41
diffbase-store-results-to/tmp/tmpo6rv5_rm/gupnp-av-0.14.1-6.fc41.tar.xz
diffbase-time-created2024-07-03 13:11:51
diffbase-time-finished2024-07-03 13:13:06
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpo6rv5_rm/gupnp-av-0.14.1-6.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpo6rv5_rm/gupnp-av-0.14.1-6.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-199.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namegupnp-av-0.14.1-4.fc39
store-results-to/tmp/tmpudkbhzw1/gupnp-av-0.14.1-4.fc39.tar.xz
time-created2024-07-03 13:09:49
time-finished2024-07-03 13:11:29
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpudkbhzw1/gupnp-av-0.14.1-4.fc39.tar.xz' '--gcc-analyze' '/tmp/tmpudkbhzw1/gupnp-av-0.14.1-4.fc39.src.rpm'
tool-versioncsmock-3.5.3-1.el9