Error: COMPILER_WARNING (CWE-477): [#def1] gsettings-qt-0-build/~system-settings-touch/gsettings-qt/trunk/src/qconftypes.cpp: scope_hint: In function ‘GVariant* qconf_types_collect_from_variant(const GVariantType*, const QVariant&)’ gsettings-qt-0-build/~system-settings-touch/gsettings-qt/trunk/src/qconftypes.cpp:233:28: warning[-Wdeprecated-declarations]: ‘void* g_memdup(gconstpointer, guint)’ is deprecated: Use 'g_memdup2' instead # 233 | data = g_memdup(array.data(), size); # | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here. /usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here. /usr/include/glib-2.0/glib.h:56: included_from: Included from here. gsettings-qt-0-build/~system-settings-touch/gsettings-qt/trunk/src/qconftypes.h:21: included_from: Included from here. gsettings-qt-0-build/~system-settings-touch/gsettings-qt/trunk/src/qconftypes.cpp:17: included_from: Included from here. /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here # 350 | gpointer g_memdup (gconstpointer mem, # | ^~~~~~~~ # 231| gpointer data; # 232| # 233|-> data = g_memdup(array.data(), size); # 234| # 235| return g_variant_new_from_data(G_VARIANT_TYPE_BYTESTRING, Error: COMPILER_WARNING (CWE-477): [#def2] gsettings-qt-0-build/~system-settings-touch/gsettings-qt/trunk/src/qgsettings.cpp: scope_hint: In member function ‘QStringList QGSettings::keys() const’ gsettings-qt-0-build/~system-settings-touch/gsettings-qt/trunk/src/qgsettings.cpp:108:40: warning[-Wdeprecated-declarations]: ‘gchar** g_settings_list_keys(GSettings*)’ is deprecated: Use 'g_settings_schema_list_keys' instead # 108 | gchar **keys = g_settings_list_keys(priv->settings); # | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gio.h:137: included_from: Included from here. gsettings-qt-0-build/~system-settings-touch/gsettings-qt/trunk/src/qgsettings.cpp:23: included_from: Included from here. /usr/include/glib-2.0/gio/gsettings.h:98:25: note: declared here # 98 | gchar ** g_settings_list_keys (GSettings *settings); # | ^~~~~~~~~~~~~~~~~~~~ # 106| { # 107| QStringList list; # 108|-> gchar **keys = g_settings_list_keys(priv->settings); # 109| for (int i = 0; keys[i]; i++) # 110| list.append(qtify_name(keys[i]));
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 |
diffbase-analyzer-version-clang | 18.1.7 |
diffbase-analyzer-version-cppcheck | 2.14.2 |
diffbase-analyzer-version-gcc | 14.1.1 |
diffbase-analyzer-version-gcc-analyzer | 14.1.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-enabled-plugins | clang, cppcheck, gcc, shellcheck |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-94.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | gsettings-qt-0.2-1.20220807gitd5e002d.fc41 |
diffbase-store-results-to | /tmp/tmpqb8y0b87/gsettings-qt-0.2-1.20220807gitd5e002d.fc41.tar.xz |
diffbase-time-created | 2024-07-03 13:02:01 |
diffbase-time-finished | 2024-07-03 13:03:07 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpqb8y0b87/gsettings-qt-0.2-1.20220807gitd5e002d.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpqb8y0b87/gsettings-qt-0.2-1.20220807gitd5e002d.fc41.src.rpm' |
diffbase-tool-version | csmock-3.5.3-1.el9 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-94.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | gsettings-qt-0-0.30.20180723bzr85.fc40 |
store-results-to | /tmp/tmp1gx25qqg/gsettings-qt-0-0.30.20180723bzr85.fc40.tar.xz |
time-created | 2024-07-03 12:59:58 |
time-finished | 2024-07-03 13:01:41 |
title | Fixed defects |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp1gx25qqg/gsettings-qt-0-0.30.20180723bzr85.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp1gx25qqg/gsettings-qt-0-0.30.20180723bzr85.fc40.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |