gupnp-av-0.14.1-4.fc39
List of Defects
Error: CPPCHECK_WARNING: [#def1]
gupnp-av-0.14.1-build/gupnp-av-0.14.1/libgupnp-av/fragment-util.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def2]
gupnp-av-0.14.1-build/gupnp-av-0.14.1/libgupnp-av/gupnp-didl-lite-object.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def3]
gupnp-av-0.14.1-build/gupnp-av-0.14.1/libgupnp-av/gupnp-didl-lite-parser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-477): [#def4]
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: CPPCHECK_WARNING: [#def5]
gupnp-av-0.14.1-build/gupnp-av-0.14.1/libgupnp-av/gupnp-didl-lite-writer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-758): [#def6]
gupnp-av-0.14.1-build/gupnp-av-0.14.1/libgupnp-av/gupnp-dlna.h:94: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 92| typedef enum {
# 93| GUPNP_DLNA_FLAGS_NONE = 0,
# 94|-> GUPNP_DLNA_FLAGS_SENDER_PACED = (1 << 31),
# 95| GUPNP_DLNA_FLAGS_TIME_BASED_SEEK = (1 << 30),
# 96| GUPNP_DLNA_FLAGS_BYTE_BASED_SEEK = (1 << 29),
Error: CPPCHECK_WARNING: [#def7]
gupnp-av-0.14.1-build/gupnp-av-0.14.1/libgupnp-av/gupnp-feature-list-parser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-477): [#def8]
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,
Error: CPPCHECK_WARNING: [#def9]
gupnp-av-0.14.1-build/gupnp-av-0.14.1/libgupnp-av/gupnp-last-change-parser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def10]
gupnp-av-0.14.1-build/gupnp-av-0.14.1/libgupnp-av/gupnp-protocol-info.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def11]
gupnp-av-0.14.1-build/gupnp-av-0.14.1/libgupnp-av/xml-util.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def12]
gupnp-av-0.14.1-build/gupnp-av-0.14.1/redhat-linux-build/tmp-introspectdw34naho/GUPnPAV-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def13]
gupnp-av-0.14.1-build/gupnp-av-0.14.1/redhat-linux-build/tmp-introspectdw34naho/GUPnPAV-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
Error: CLANG_WARNING: [#def14]
gupnp-av-0.14.1-build/gupnp-av-0.14.1/tests/check-feature-list-parser.c:53:13: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 51| static int index = 0;
# 52|
# 53|-> if (strcmp (names[index], gupnp_feature_get_name (feature)))
# 54| return FALSE;
# 55|
Error: CPPCHECK_WARNING: [#def15]
gupnp-av-0.14.1-build/gupnp-av-0.14.1/tests/gtest/test-cds-last-change-parser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def16]
gupnp-av-0.14.1-build/gupnp-av-0.14.1/tests/gtest/test-last-change-parser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-199.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | gupnp-av-0.14.1-4.fc39 |
store-results-to | /tmp/tmpudkbhzw1/gupnp-av-0.14.1-4.fc39.tar.xz |
time-created | 2024-07-03 13:09:49 |
time-finished | 2024-07-03 13:11:29 |
tool | csmock |
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-version | csmock-3.5.3-1.el9 |