Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler. Number of rules (primarily dangerous function names) in C/C++ ruleset: 223 Examining data/rhythmbox-3.4.4/plugins/android/rb-android-source.h Examining data/rhythmbox-3.4.4/plugins/android/rb-android-source.c Examining data/rhythmbox-3.4.4/plugins/android/rb-android-plugin.c Examining data/rhythmbox-3.4.4/plugins/android/android-resources.c Examining data/rhythmbox-3.4.4/plugins/rb-plugin-macros.h Examining data/rhythmbox-3.4.4/plugins/generic-player/rb-generic-player-plugin.c Examining data/rhythmbox-3.4.4/plugins/generic-player/rb-nokia770-source.h Examining data/rhythmbox-3.4.4/plugins/generic-player/rb-nokia770-source.c Examining data/rhythmbox-3.4.4/plugins/generic-player/rb-psp-source.c Examining data/rhythmbox-3.4.4/plugins/generic-player/rb-generic-player-playlist-source.c Examining data/rhythmbox-3.4.4/plugins/generic-player/rb-generic-player-source.c Examining data/rhythmbox-3.4.4/plugins/generic-player/rb-generic-player-playlist-source.h Examining data/rhythmbox-3.4.4/plugins/generic-player/rb-psp-source.h Examining data/rhythmbox-3.4.4/plugins/generic-player/generic-player-resources.c Examining data/rhythmbox-3.4.4/plugins/generic-player/rb-generic-player-source.h Examining data/rhythmbox-3.4.4/plugins/mmkeys/rb-mmkeys-plugin.c Examining data/rhythmbox-3.4.4/plugins/audiocd/audiocd-resources.c Examining data/rhythmbox-3.4.4/plugins/audiocd/rb-audiocd-source.c Examining data/rhythmbox-3.4.4/plugins/audiocd/rb-audiocd-info.c Examining data/rhythmbox-3.4.4/plugins/audiocd/rb-musicbrainz-lookup.c Examining data/rhythmbox-3.4.4/plugins/audiocd/test-cd.c Examining data/rhythmbox-3.4.4/plugins/audiocd/rb-audiocd-info.h Examining data/rhythmbox-3.4.4/plugins/audiocd/rb-audiocd-plugin.c Examining data/rhythmbox-3.4.4/plugins/audiocd/rb-audiocd-source.h Examining data/rhythmbox-3.4.4/plugins/audiocd/rb-musicbrainz-lookup.h Examining data/rhythmbox-3.4.4/plugins/fmradio/fmradio-resources.c Examining data/rhythmbox-3.4.4/plugins/fmradio/rb-fm-radio-plugin.c Examining data/rhythmbox-3.4.4/plugins/fmradio/rb-fm-radio-source.c Examining data/rhythmbox-3.4.4/plugins/fmradio/rb-radio-tuner.h Examining data/rhythmbox-3.4.4/plugins/fmradio/rb-radio-tuner-v4l2.c Examining data/rhythmbox-3.4.4/plugins/fmradio/rb-fm-radio-source.h Examining data/rhythmbox-3.4.4/plugins/fmradio/rb-fm-radio-gst-src.c Examining data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-plugin.c Examining data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-radio-source.c Examining data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-radio-track-entry-type.c Examining data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler.c Examining data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-user.c Examining data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-service.c Examining data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-profile-page.c Examining data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-radio-source.h Examining data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-entry.h Examining data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-account.c Examining data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-service.h Examining data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-user.h Examining data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-play-order.c Examining data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-entry.c Examining data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler.h Examining data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-account.h Examining data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-play-order.h Examining data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-profile-page.h Examining data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-radio-track-entry-type.h Examining data/rhythmbox-3.4.4/plugins/ipod/ipod-resources.c Examining data/rhythmbox-3.4.4/plugins/ipod/rb-ipod-db.h Examining data/rhythmbox-3.4.4/plugins/ipod/rb-ipod-db.c Examining data/rhythmbox-3.4.4/plugins/ipod/rb-ipod-static-playlist-source.c Examining data/rhythmbox-3.4.4/plugins/ipod/rb-ipod-source.c Examining data/rhythmbox-3.4.4/plugins/ipod/rb-ipod-source.h Examining data/rhythmbox-3.4.4/plugins/ipod/rb-ipod-plugin.c Examining data/rhythmbox-3.4.4/plugins/ipod/rb-ipod-helpers.h Examining data/rhythmbox-3.4.4/plugins/ipod/rb-ipod-static-playlist-source.h Examining data/rhythmbox-3.4.4/plugins/ipod/rb-ipod-helpers.c Examining data/rhythmbox-3.4.4/plugins/grilo/rb-grilo-plugin.c Examining data/rhythmbox-3.4.4/plugins/grilo/rb-grilo-source.c Examining data/rhythmbox-3.4.4/plugins/grilo/rb-grilo-source.h Examining data/rhythmbox-3.4.4/plugins/daap/rb-daap-src.c Examining data/rhythmbox-3.4.4/plugins/daap/rb-daap-plugin.c Examining data/rhythmbox-3.4.4/plugins/daap/daap-resources.c Examining data/rhythmbox-3.4.4/plugins/daap/rb-dacp-player.h Examining data/rhythmbox-3.4.4/plugins/daap/rb-daap-source.c Examining data/rhythmbox-3.4.4/plugins/daap/rb-daap-src.h Examining data/rhythmbox-3.4.4/plugins/daap/rb-dacp-pairing-page.h Examining data/rhythmbox-3.4.4/plugins/daap/rb-daap-plugin.h Examining data/rhythmbox-3.4.4/plugins/daap/rb-daap-record.c Examining data/rhythmbox-3.4.4/plugins/daap/rb-rhythmdb-query-model-dmap-db-adapter.h Examining data/rhythmbox-3.4.4/plugins/daap/rb-daap-record.h Examining data/rhythmbox-3.4.4/plugins/daap/rb-daap-sharing.h Examining data/rhythmbox-3.4.4/plugins/daap/rb-rhythmdb-query-model-dmap-db-adapter.c Examining data/rhythmbox-3.4.4/plugins/daap/rb-daap-container-record.h Examining data/rhythmbox-3.4.4/plugins/daap/rb-daap-source.h Examining data/rhythmbox-3.4.4/plugins/daap/rb-dmap-container-db-adapter.c Examining data/rhythmbox-3.4.4/plugins/daap/rb-daap-container-record.c Examining data/rhythmbox-3.4.4/plugins/daap/rb-rhythmdb-dmap-db-adapter.c Examining data/rhythmbox-3.4.4/plugins/daap/rb-daap-record-factory.c Examining data/rhythmbox-3.4.4/plugins/daap/rb-dmap-container-db-adapter.h Examining data/rhythmbox-3.4.4/plugins/daap/rb-rhythmdb-dmap-db-adapter.h Examining data/rhythmbox-3.4.4/plugins/daap/rb-dacp-pairing-page.c Examining data/rhythmbox-3.4.4/plugins/daap/rb-daap-record-factory.h Examining data/rhythmbox-3.4.4/plugins/daap/rb-dacp-player.c Examining data/rhythmbox-3.4.4/plugins/daap/rb-daap-sharing.c Examining data/rhythmbox-3.4.4/plugins/mtpdevice/rb-mtp-plugin.c Examining data/rhythmbox-3.4.4/plugins/mtpdevice/rb-mtp-thread.h Examining data/rhythmbox-3.4.4/plugins/mtpdevice/rb-mtp-gst.h Examining data/rhythmbox-3.4.4/plugins/mtpdevice/rb-mtp-source.h Examining data/rhythmbox-3.4.4/plugins/mtpdevice/rb-mtp-source.c Examining data/rhythmbox-3.4.4/plugins/mtpdevice/rb-mtp-gst.c Examining data/rhythmbox-3.4.4/plugins/mtpdevice/rb-mtp-gst-src.c Examining data/rhythmbox-3.4.4/plugins/mtpdevice/mtpdevice-resources.c Examining data/rhythmbox-3.4.4/plugins/mtpdevice/rb-mtp-thread.c Examining data/rhythmbox-3.4.4/plugins/lirc/rb-lirc-plugin.c Examining data/rhythmbox-3.4.4/plugins/brasero-disc-recorder/rb-disc-recorder-plugin.c Examining data/rhythmbox-3.4.4/plugins/notification/rb-notification-plugin.c Examining data/rhythmbox-3.4.4/plugins/dbus-media-server/rb-dbus-media-server-plugin.c Examining data/rhythmbox-3.4.4/plugins/dbus-media-server/dbus-media-server-spec.h Examining data/rhythmbox-3.4.4/plugins/power-manager/rb-power-manager-plugin.c Examining data/rhythmbox-3.4.4/plugins/iradio/iradio-resources.c Examining data/rhythmbox-3.4.4/plugins/iradio/rb-iradio-source-search.c Examining data/rhythmbox-3.4.4/plugins/iradio/rb-iradio-source.c Examining data/rhythmbox-3.4.4/plugins/iradio/rb-iradio-source-search.h Examining data/rhythmbox-3.4.4/plugins/iradio/rb-station-properties-dialog.h Examining data/rhythmbox-3.4.4/plugins/iradio/rb-iradio-plugin.c Examining data/rhythmbox-3.4.4/plugins/iradio/rb-station-properties-dialog.c Examining data/rhythmbox-3.4.4/plugins/iradio/rb-iradio-source.h Examining data/rhythmbox-3.4.4/plugins/mpris/mpris-spec.h Examining data/rhythmbox-3.4.4/plugins/mpris/rb-mpris-plugin.c Examining data/rhythmbox-3.4.4/shell/rb-track-transfer-batch.h Examining data/rhythmbox-3.4.4/shell/rb-play-order-random-by-age.c Examining data/rhythmbox-3.4.4/shell/rb-play-order-queue.h Examining data/rhythmbox-3.4.4/shell/rb-shell.h Examining data/rhythmbox-3.4.4/shell/rb-play-order-queue.c Examining data/rhythmbox-3.4.4/shell/rb-task-list.h Examining data/rhythmbox-3.4.4/shell/rb-shell-preferences.h Examining data/rhythmbox-3.4.4/shell/rb-track-transfer-batch.c Examining data/rhythmbox-3.4.4/shell/rb-removable-media-manager.h Examining data/rhythmbox-3.4.4/shell/rb-task-list.c Examining data/rhythmbox-3.4.4/shell/rb-track-transfer-queue.c Examining data/rhythmbox-3.4.4/shell/rb-play-order-random-by-age.h Examining data/rhythmbox-3.4.4/shell/rb-play-order-linear-loop.h Examining data/rhythmbox-3.4.4/shell/rb-play-order-random-by-rating.c Examining data/rhythmbox-3.4.4/shell/rb-play-order-random-by-age-and-rating.c Examining data/rhythmbox-3.4.4/shell/rb-play-order-shuffle.h Examining data/rhythmbox-3.4.4/shell/rb-play-order.h Examining data/rhythmbox-3.4.4/shell/rb-play-order-random.c Examining data/rhythmbox-3.4.4/shell/rb-history.h Examining data/rhythmbox-3.4.4/shell/rb-play-order-linear-loop.c Examining data/rhythmbox-3.4.4/shell/rb-history.c Examining data/rhythmbox-3.4.4/shell/rb-resources.c Examining data/rhythmbox-3.4.4/shell/rb-play-order-random-by-rating.h Examining data/rhythmbox-3.4.4/shell/rb-play-order.c Examining data/rhythmbox-3.4.4/shell/rb-shell-player.h Examining data/rhythmbox-3.4.4/shell/rb-play-order-random-equal-weights.c Examining data/rhythmbox-3.4.4/shell/rb-play-order-random.h Examining data/rhythmbox-3.4.4/shell/rb-track-transfer-queue.h Examining data/rhythmbox-3.4.4/shell/rb-removable-media-manager.c Examining data/rhythmbox-3.4.4/shell/rb-play-order-random-equal-weights.h Examining data/rhythmbox-3.4.4/shell/rb-playlist-manager.h Examining data/rhythmbox-3.4.4/shell/rb-play-order-linear.c Examining data/rhythmbox-3.4.4/shell/rb-playlist-manager.c Examining data/rhythmbox-3.4.4/shell/rb-play-order-random-by-age-and-rating.h Examining data/rhythmbox-3.4.4/shell/rb-play-order-linear.h Examining data/rhythmbox-3.4.4/shell/rb-shell-preferences.c Examining data/rhythmbox-3.4.4/shell/rb-play-order-shuffle.c Examining data/rhythmbox-3.4.4/shell/rb-application.h Examining data/rhythmbox-3.4.4/shell/rb-shell-clipboard.c Examining data/rhythmbox-3.4.4/shell/rb-shell-player.c Examining data/rhythmbox-3.4.4/shell/rb-shell-clipboard.h Examining data/rhythmbox-3.4.4/shell/main.c Examining data/rhythmbox-3.4.4/shell/rb-application.c Examining data/rhythmbox-3.4.4/shell/rb-shell.c Examining data/rhythmbox-3.4.4/metadata/rb-metadata-dbus.h Examining data/rhythmbox-3.4.4/metadata/rb-metadata-gst-common.c Examining data/rhythmbox-3.4.4/metadata/rb-ext-db-key.h Examining data/rhythmbox-3.4.4/metadata/test-metadata.c Examining data/rhythmbox-3.4.4/metadata/rb-metadata-gst.c Examining data/rhythmbox-3.4.4/metadata/rb-metadata-common.c Examining data/rhythmbox-3.4.4/metadata/rb-metadata-gst-common.h Examining data/rhythmbox-3.4.4/metadata/rb-ext-db-key.c Examining data/rhythmbox-3.4.4/metadata/rb-metadata-dbus.c Examining data/rhythmbox-3.4.4/metadata/rb-metadata.h Examining data/rhythmbox-3.4.4/metadata/rb-ext-db.c Examining data/rhythmbox-3.4.4/metadata/rb-ext-db.h Examining data/rhythmbox-3.4.4/metadata/rb-metadata-dbus-client.c Examining data/rhythmbox-3.4.4/metadata/rb-metadata-dbus-service.c Examining data/rhythmbox-3.4.4/sources/rb-display-page-model.h Examining data/rhythmbox-3.4.4/sources/rb-display-page-menu.c Examining data/rhythmbox-3.4.4/sources/rb-transfer-target.c Examining data/rhythmbox-3.4.4/sources/rb-playlist-source.c Examining data/rhythmbox-3.4.4/sources/rb-source.c Examining data/rhythmbox-3.4.4/sources/rb-display-page-menu.h Examining data/rhythmbox-3.4.4/sources/rb-play-queue-source.h Examining data/rhythmbox-3.4.4/sources/rb-play-queue-source.c Examining data/rhythmbox-3.4.4/sources/rb-streaming-source.c Examining data/rhythmbox-3.4.4/sources/rb-media-player-source.h Examining data/rhythmbox-3.4.4/sources/rb-library-source.c Examining data/rhythmbox-3.4.4/sources/rb-missing-files-source.h Examining data/rhythmbox-3.4.4/sources/rb-static-playlist-source.c Examining data/rhythmbox-3.4.4/sources/rb-transfer-target.h Examining data/rhythmbox-3.4.4/sources/rb-source-search-basic.h Examining data/rhythmbox-3.4.4/sources/rb-streaming-source.h Examining data/rhythmbox-3.4.4/sources/rb-display-page.c Examining data/rhythmbox-3.4.4/sources/rb-source.h Examining data/rhythmbox-3.4.4/sources/rb-playlist-xml.h Examining data/rhythmbox-3.4.4/sources/rb-display-page-model.c Examining data/rhythmbox-3.4.4/sources/rb-missing-files-source.c Examining data/rhythmbox-3.4.4/sources/rb-media-player-source.c Examining data/rhythmbox-3.4.4/sources/rb-device-source.c Examining data/rhythmbox-3.4.4/sources/rb-playlist-source.h Examining data/rhythmbox-3.4.4/sources/rb-display-page-tree.h Examining data/rhythmbox-3.4.4/sources/rb-device-source.h Examining data/rhythmbox-3.4.4/sources/rb-static-playlist-source.h Examining data/rhythmbox-3.4.4/sources/sync/rb-sync-settings.c Examining data/rhythmbox-3.4.4/sources/sync/rb-sync-state-ui.h Examining data/rhythmbox-3.4.4/sources/sync/rb-sync-settings-ui.c Examining data/rhythmbox-3.4.4/sources/sync/rb-sync-state-ui.c Examining data/rhythmbox-3.4.4/sources/sync/rb-sync-settings.h Examining data/rhythmbox-3.4.4/sources/sync/rb-sync-settings-ui.h Examining data/rhythmbox-3.4.4/sources/sync/rb-sync-state.c Examining data/rhythmbox-3.4.4/sources/sync/rb-sync-state.h Examining data/rhythmbox-3.4.4/sources/rb-display-page-group.c Examining data/rhythmbox-3.4.4/sources/rb-import-errors-source.h Examining data/rhythmbox-3.4.4/sources/rb-display-page-tree.c Examining data/rhythmbox-3.4.4/sources/rb-browser-source.c Examining data/rhythmbox-3.4.4/sources/rb-auto-playlist-source.c Examining data/rhythmbox-3.4.4/sources/rb-display-page-group.h Examining data/rhythmbox-3.4.4/sources/rb-library-source.h Examining data/rhythmbox-3.4.4/sources/rb-source-search.h Examining data/rhythmbox-3.4.4/sources/rb-browser-source.h Examining data/rhythmbox-3.4.4/sources/rb-source-search-basic.c Examining data/rhythmbox-3.4.4/sources/rb-source-search.c Examining data/rhythmbox-3.4.4/sources/rb-auto-playlist-source.h Examining data/rhythmbox-3.4.4/sources/rb-display-page.h Examining data/rhythmbox-3.4.4/sources/rb-import-errors-source.c Examining data/rhythmbox-3.4.4/remote/dbus/rb-client.c Examining data/rhythmbox-3.4.4/sample-plugins/sample-vala/rb-sample-vala-plugin.c Examining data/rhythmbox-3.4.4/sample-plugins/sample/rb-sample-plugin.c Examining data/rhythmbox-3.4.4/widgets/rb-encoding-settings.c Examining data/rhythmbox-3.4.4/widgets/rb-segmented-bar.h Examining data/rhythmbox-3.4.4/widgets/rb-rating.c Examining data/rhythmbox-3.4.4/widgets/rb-import-dialog.h Examining data/rhythmbox-3.4.4/widgets/gossip-cell-renderer-expander.h Examining data/rhythmbox-3.4.4/widgets/eggwrapbox-enums.c Examining data/rhythmbox-3.4.4/widgets/test-uri-dialog.c Examining data/rhythmbox-3.4.4/widgets/rb-header.c Examining data/rhythmbox-3.4.4/widgets/rb-source-toolbar.c Examining data/rhythmbox-3.4.4/widgets/rb-entry-view.h Examining data/rhythmbox-3.4.4/widgets/rb-alert-dialog.h Examining data/rhythmbox-3.4.4/widgets/rb-object-property-editor.c Examining data/rhythmbox-3.4.4/widgets/rb-task-list-display.h Examining data/rhythmbox-3.4.4/widgets/rb-search-entry.h Examining data/rhythmbox-3.4.4/widgets/rb-query-creator-properties.c Examining data/rhythmbox-3.4.4/widgets/rb-fading-image.c Examining data/rhythmbox-3.4.4/widgets/rb-button-bar.c Examining data/rhythmbox-3.4.4/widgets/rb-fading-image.h Examining data/rhythmbox-3.4.4/widgets/rb-property-view.h Examining data/rhythmbox-3.4.4/widgets/nautilus-floating-bar.c Examining data/rhythmbox-3.4.4/widgets/rb-alert-dialog.c Examining data/rhythmbox-3.4.4/widgets/test-rb-segmented-bar.c Examining data/rhythmbox-3.4.4/widgets/rb-library-browser.c Examining data/rhythmbox-3.4.4/widgets/rb-source-toolbar.h Examining data/rhythmbox-3.4.4/widgets/rb-rating-helper.h Examining data/rhythmbox-3.4.4/widgets/rb-search-entry.c Examining data/rhythmbox-3.4.4/widgets/rb-cell-renderer-pixbuf.c Examining data/rhythmbox-3.4.4/widgets/rb-query-creator-private.h Examining data/rhythmbox-3.4.4/widgets/rb-encoding-settings.h Examining data/rhythmbox-3.4.4/widgets/rb-entry-view.c Examining data/rhythmbox-3.4.4/widgets/rb-cell-renderer-rating.c Examining data/rhythmbox-3.4.4/widgets/rb-song-info.h Examining data/rhythmbox-3.4.4/widgets/eggwrapbox.c Examining data/rhythmbox-3.4.4/widgets/rb-property-view.c Examining data/rhythmbox-3.4.4/widgets/eggwrapbox.h Examining data/rhythmbox-3.4.4/widgets/rb-uri-dialog.c Examining data/rhythmbox-3.4.4/widgets/rb-song-info.c Examining data/rhythmbox-3.4.4/widgets/rb-object-property-editor.h Examining data/rhythmbox-3.4.4/widgets/rb-dialog.c Examining data/rhythmbox-3.4.4/widgets/rb-rating-helper.c Examining data/rhythmbox-3.4.4/widgets/rb-cell-renderer-rating.h Examining data/rhythmbox-3.4.4/widgets/rb-query-creator.h Examining data/rhythmbox-3.4.4/widgets/rb-rating.h Examining data/rhythmbox-3.4.4/widgets/gossip-cell-renderer-expander.c Examining data/rhythmbox-3.4.4/widgets/rb-uri-dialog.h Examining data/rhythmbox-3.4.4/widgets/nautilus-floating-bar.h Examining data/rhythmbox-3.4.4/widgets/rb-task-list-display.c Examining data/rhythmbox-3.4.4/widgets/rb-query-creator.c Examining data/rhythmbox-3.4.4/widgets/rb-library-browser.h Examining data/rhythmbox-3.4.4/widgets/rb-button-bar.h Examining data/rhythmbox-3.4.4/widgets/rb-import-dialog.c Examining data/rhythmbox-3.4.4/widgets/eggwrapbox-enums.h Examining data/rhythmbox-3.4.4/widgets/rb-cell-renderer-pixbuf.h Examining data/rhythmbox-3.4.4/widgets/rb-header.h Examining data/rhythmbox-3.4.4/widgets/rb-segmented-bar.c Examining data/rhythmbox-3.4.4/widgets/rb-dialog.h Examining data/rhythmbox-3.4.4/rhythmdb/rb-refstring.c Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-query-results.c Examining data/rhythmbox-3.4.4/rhythmdb/rb-refstring.h Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-query-model.h Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-monitor.c Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-song-entry-types.c Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-query-result-list.h Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-import-job.h Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-query-results.h Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb.c Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-dbus.c Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-property-model.c Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-entry-type.c Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-entry-type.h Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-query.c Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-import-job.c Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-metadata-cache.c Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-tree.c Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-query-model.c Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb.h Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-query-result-list.c Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-entry.h Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-property-model.h Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-private.h Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-tree.h Examining data/rhythmbox-3.4.4/rhythmdb/rhythmdb-metadata-cache.h Examining data/rhythmbox-3.4.4/backends/rb-player.h Examining data/rhythmbox-3.4.4/backends/rb-encoder.h Examining data/rhythmbox-3.4.4/backends/rb-player-gst-tee.h Examining data/rhythmbox-3.4.4/backends/rb-player-gst-tee.c Examining data/rhythmbox-3.4.4/backends/rb-encoder.c Examining data/rhythmbox-3.4.4/backends/rb-player-gst-filter.h Examining data/rhythmbox-3.4.4/backends/rb-player.c Examining data/rhythmbox-3.4.4/backends/gstreamer/rb-player-gst-xfade.h Examining data/rhythmbox-3.4.4/backends/gstreamer/rb-player-gst-xfade.c Examining data/rhythmbox-3.4.4/backends/gstreamer/rb-player-gst.h Examining data/rhythmbox-3.4.4/backends/gstreamer/rb-player-gst.c Examining data/rhythmbox-3.4.4/backends/gstreamer/rb-player-gst-helper.h Examining data/rhythmbox-3.4.4/backends/gstreamer/rb-encoder-gst.h Examining data/rhythmbox-3.4.4/backends/gstreamer/rb-encoder-gst.c Examining data/rhythmbox-3.4.4/backends/gstreamer/rb-player-gst-helper.c Examining data/rhythmbox-3.4.4/backends/rb-player-gst-filter.c Examining data/rhythmbox-3.4.4/tests/test-rhythmdb-property-model.c Examining data/rhythmbox-3.4.4/tests/test-widgets-resources.c Examining data/rhythmbox-3.4.4/tests/test-rhythmdb-query-model.c Examining data/rhythmbox-3.4.4/tests/test-rhythmdb-view.c Examining data/rhythmbox-3.4.4/tests/test-rhythmdb-query.c Examining data/rhythmbox-3.4.4/tests/test-file-helpers.c Examining data/rhythmbox-3.4.4/tests/test-rb-lib.c Examining data/rhythmbox-3.4.4/tests/test-rhythmdb.c Examining data/rhythmbox-3.4.4/tests/test-widgets.c Examining data/rhythmbox-3.4.4/tests/test-rhythmdb-tree-serialization.c Examining data/rhythmbox-3.4.4/tests/bench-rhythmdb-load.c Examining data/rhythmbox-3.4.4/tests/test-audioscrobbler.c Examining data/rhythmbox-3.4.4/tests/test-utils.h Examining data/rhythmbox-3.4.4/tests/test-utils.c Examining data/rhythmbox-3.4.4/lib/rb-string-value-map.c Examining data/rhythmbox-3.4.4/lib/rb-builder-helpers.c Examining data/rhythmbox-3.4.4/lib/rb-missing-plugins.c Examining data/rhythmbox-3.4.4/lib/rb-file-helpers.c Examining data/rhythmbox-3.4.4/lib/rb-task-progress-simple.h Examining data/rhythmbox-3.4.4/lib/rb-async-queue-watch.c Examining data/rhythmbox-3.4.4/lib/rb-debug.h Examining data/rhythmbox-3.4.4/lib/rb-gst-media-types.c Examining data/rhythmbox-3.4.4/lib/rb-builder-helpers.h Examining data/rhythmbox-3.4.4/lib/libmediaplayerid/mpid-hal.c Examining data/rhythmbox-3.4.4/lib/libmediaplayerid/mpid-files.c Examining data/rhythmbox-3.4.4/lib/libmediaplayerid/mediaplayerid.h Examining data/rhythmbox-3.4.4/lib/libmediaplayerid/mpid-dummy.c Examining data/rhythmbox-3.4.4/lib/libmediaplayerid/mpid-util.c Examining data/rhythmbox-3.4.4/lib/libmediaplayerid/mpid-private.h Examining data/rhythmbox-3.4.4/lib/libmediaplayerid/mpid-device.c Examining data/rhythmbox-3.4.4/lib/libmediaplayerid/mpid-udev.c Examining data/rhythmbox-3.4.4/lib/rb-chunk-loader.h Examining data/rhythmbox-3.4.4/lib/rb-cut-and-paste-code.c Examining data/rhythmbox-3.4.4/lib/rb-task-progress-simple.c Examining data/rhythmbox-3.4.4/lib/rb-text-helpers.c Examining data/rhythmbox-3.4.4/lib/rb-string-value-map.h Examining data/rhythmbox-3.4.4/lib/rb-tree-dnd.c Examining data/rhythmbox-3.4.4/lib/rb-missing-plugins.h Examining data/rhythmbox-3.4.4/lib/rb-async-queue-watch.h Examining data/rhythmbox-3.4.4/lib/rb-async-copy.h Examining data/rhythmbox-3.4.4/lib/rb-gst-media-types.h Examining data/rhythmbox-3.4.4/lib/rb-file-helpers.h Examining data/rhythmbox-3.4.4/lib/rb-cut-and-paste-code.h Examining data/rhythmbox-3.4.4/lib/rb-task-progress.c Examining data/rhythmbox-3.4.4/lib/rb-list-model.h Examining data/rhythmbox-3.4.4/lib/rb-text-helpers.h Examining data/rhythmbox-3.4.4/lib/rb-debug.c Examining data/rhythmbox-3.4.4/lib/rb-task-progress.h Examining data/rhythmbox-3.4.4/lib/rb-util.c Examining data/rhythmbox-3.4.4/lib/rb-tree-dnd.h Examining data/rhythmbox-3.4.4/lib/rb-util.h Examining data/rhythmbox-3.4.4/lib/rb-chunk-loader.c Examining data/rhythmbox-3.4.4/lib/rb-stock-icons.h Examining data/rhythmbox-3.4.4/lib/rb-async-copy.c Examining data/rhythmbox-3.4.4/lib/rb-list-model.c Examining data/rhythmbox-3.4.4/lib/rb-stock-icons.c Examining data/rhythmbox-3.4.4/podcast/rb-podcast-search.c Examining data/rhythmbox-3.4.4/podcast/rb-feed-podcast-properties-dialog.h Examining data/rhythmbox-3.4.4/podcast/rb-podcast-entry-types.c Examining data/rhythmbox-3.4.4/podcast/rb-podcast-search-itunes.c Examining data/rhythmbox-3.4.4/podcast/rb-podcast-source.c Examining data/rhythmbox-3.4.4/podcast/rb-feed-podcast-properties-dialog.c Examining data/rhythmbox-3.4.4/podcast/rb-podcast-entry-types.h Examining data/rhythmbox-3.4.4/podcast/rb-podcast-manager.c Examining data/rhythmbox-3.4.4/podcast/rb-podcast-add-dialog.c Examining data/rhythmbox-3.4.4/podcast/rb-podcast-parse.c Examining data/rhythmbox-3.4.4/podcast/rb-podcast-add-dialog.h Examining data/rhythmbox-3.4.4/podcast/rb-podcast-main-source.h Examining data/rhythmbox-3.4.4/podcast/rb-podcast-search.h Examining data/rhythmbox-3.4.4/podcast/test-podcast-parse.c Examining data/rhythmbox-3.4.4/podcast/rb-podcast-properties-dialog.h Examining data/rhythmbox-3.4.4/podcast/rb-podcast-source.h Examining data/rhythmbox-3.4.4/podcast/rb-podcast-parse.h Examining data/rhythmbox-3.4.4/podcast/rb-podcast-settings.h Examining data/rhythmbox-3.4.4/podcast/rb-podcast-properties-dialog.c Examining data/rhythmbox-3.4.4/podcast/rb-podcast-manager.h Examining data/rhythmbox-3.4.4/podcast/test-podcast-search.c Examining data/rhythmbox-3.4.4/podcast/rb-podcast-main-source.c FINAL RESULTS: data/rhythmbox-3.4.4/lib/libmediaplayerid/mpid-util.c:153:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (munged, fake_group); data/rhythmbox-3.4.4/lib/rb-debug.c:458:2: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. access (str, F_OK); data/rhythmbox-3.4.4/lib/rb-file-helpers.c:199:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. dir = getenv ("HOME"); data/rhythmbox-3.4.4/lib/rb-file-helpers.c:1088:44: [3] (random) g_random_int_range: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. uri = g_strdup_printf ("%s%06X", prefix, g_random_int_range (0, 0xFFFFFF)); data/rhythmbox-3.4.4/plugins/brasero-disc-recorder/rb-disc-recorder-plugin.c:206:27: [3] (buffer) g_get_tmp_dir: This function is synonymous with 'getenv("TMP")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. path = g_build_filename (g_get_tmp_dir (), "brasero-tmp-project-XXXXXX", NULL); data/rhythmbox-3.4.4/plugins/generic-player/rb-generic-player-playlist-source.c:211:62: [3] (random) g_random_int_range: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. temp_path = g_strdup_printf ("%s%06X", priv->playlist_path, g_random_int_range (0, 0xFFFFFF)); data/rhythmbox-3.4.4/plugins/ipod/rb-ipod-source.c:1689:11: [3] (random) g_random_int_range: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. suffix = g_random_int_range (0, 49); data/rhythmbox-3.4.4/plugins/ipod/rb-ipod-source.c:1748:21: [3] (random) g_random_int_range: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. suffix[1] = 'A' + g_random_int_range (0, 26); data/rhythmbox-3.4.4/plugins/ipod/rb-ipod-source.c:1749:21: [3] (random) g_random_int_range: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. suffix[2] = 'A' + g_random_int_range (0, 26); data/rhythmbox-3.4.4/plugins/mpris/rb-mpris-plugin.c:761:55: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. rb_shell_player_get_playback_state (plugin->player, &random, NULL); data/rhythmbox-3.4.4/plugins/mpris/rb-mpris-plugin.c:762:32: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. return g_variant_new_boolean (random); data/rhythmbox-3.4.4/plugins/mtpdevice/rb-mtp-thread.c:453:30: [3] (buffer) g_get_tmp_dir: This function is synonymous with 'getenv("TMP")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. dir = g_file_new_for_path (g_get_tmp_dir ()); data/rhythmbox-3.4.4/podcast/rb-podcast-manager.c:2278:20: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. conf_dir_name = g_get_home_dir (); data/rhythmbox-3.4.4/rhythmdb/rhythmdb-property-model.c:504:23: [3] (random) g_random_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. model->priv->stamp = g_random_int (); data/rhythmbox-3.4.4/rhythmdb/rhythmdb-query-model.c:674:23: [3] (random) g_random_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. model->priv->stamp = g_random_int (); data/rhythmbox-3.4.4/rhythmdb/rhythmdb-query-model.c:1719:14: [3] (random) g_random_int_range: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. swapwith = g_random_int_range (i, listsize); data/rhythmbox-3.4.4/shell/rb-play-order-random.c:285:9: [3] (random) g_random_int_range: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. low = g_random_int_range (0, entry_weights->len); data/rhythmbox-3.4.4/shell/rb-play-order-random.c:292:8: [3] (random) g_random_double_range: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. rnd = g_random_double_range (0, total_weight); data/rhythmbox-3.4.4/shell/rb-play-order-shuffle.c:383:9: [3] (random) g_random_int_range: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. g_random_int_range (MIN (current_index, history_size-1) + 1, data/rhythmbox-3.4.4/sources/rb-library-source.c:1073:8: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. char *realpath; data/rhythmbox-3.4.4/sources/rb-library-source.c:1100:56: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. dir = g_file_resolve_relative_path (library_location, realpath); data/rhythmbox-3.4.4/sources/rb-library-source.c:1102:10: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. g_free (realpath); data/rhythmbox-3.4.4/backends/gstreamer/rb-encoder-gst.c:641:10: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). GFile *tmpfile; data/rhythmbox-3.4.4/backends/gstreamer/rb-encoder-gst.c:662:45: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). encoder->priv->dest_uri = g_file_get_uri (tmpfile); data/rhythmbox-3.4.4/backends/gstreamer/rb-encoder-gst.c:663:19: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). g_object_unref (tmpfile); data/rhythmbox-3.4.4/backends/gstreamer/rb-player-gst-xfade.c:284:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char silence_buffer[1024]; data/rhythmbox-3.4.4/backends/rb-player.c:357:16: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). return iface->open (player, uri, stream_data, stream_data_destroy, error); data/rhythmbox-3.4.4/backends/rb-player.h:78:20: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). gboolean (*open) (RBPlayer *player, data/rhythmbox-3.4.4/lib/libmediaplayerid/mpid-util.c:154:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (munged + strlen (fake_group), data, data_size); data/rhythmbox-3.4.4/lib/rb-debug.c:96:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str_time[255]; data/rhythmbox-3.4.4/lib/rb-debug.c:145:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[1025]; data/rhythmbox-3.4.4/metadata/test-metadata.c:95:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1024]; data/rhythmbox-3.4.4/plugins/audiocd/rb-audiocd-plugin.c:112:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (*device, device_name, (fragment - device_name)); data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-entry.c:187:21: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). entry->length = atoi (breaks2[1]); data/rhythmbox-3.4.4/plugins/daap/rb-daap-src.c:286:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (httpuri, http, 4); data/rhythmbox-3.4.4/plugins/fmradio/rb-radio-tuner-v4l2.c:105:7: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open(devname, O_RDONLY); data/rhythmbox-3.4.4/plugins/mtpdevice/rb-mtp-gst-src.c:266:12: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). src->fd = open (src->tempfile, O_RDONLY, 0); data/rhythmbox-3.4.4/podcast/rb-podcast-add-dialog.c:692:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *episode_strings[3]; data/rhythmbox-3.4.4/podcast/rb-podcast-add-dialog.c:796:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *sample_strings[3]; data/rhythmbox-3.4.4/podcast/rb-podcast-manager.c:1544:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[8192]; data/rhythmbox-3.4.4/podcast/rb-podcast-properties-dialog.c:150:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char entity[6]; data/rhythmbox-3.4.4/podcast/rb-podcast-source.c:1356:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *sample_strings[3]; data/rhythmbox-3.4.4/podcast/rb-podcast-source.c:1409:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char *status_strings[6]; data/rhythmbox-3.4.4/podcast/test-podcast-parse.c:56:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[1025]; data/rhythmbox-3.4.4/podcast/test-podcast-parse.c:74:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char datebuf[1024]; data/rhythmbox-3.4.4/podcast/test-podcast-search.c:57:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[1025]; data/rhythmbox-3.4.4/podcast/test-podcast-search.c:73:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char datebuf[1025]; data/rhythmbox-3.4.4/remote/dbus/rb-client.c:831:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char b[2]; data/rhythmbox-3.4.4/rhythmdb/rb-refstring.c:44:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char value[1]; data/rhythmbox-3.4.4/rhythmdb/rhythmdb-tree.c:891:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[92]; data/rhythmbox-3.4.4/rhythmdb/rhythmdb-tree.c:906:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[92]; data/rhythmbox-3.4.4/rhythmdb/rhythmdb-tree.c:929:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[92]; data/rhythmbox-3.4.4/rhythmdb/rhythmdb-tree.c:945:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[G_ASCII_DTOSTR_BUF_SIZE+1]; data/rhythmbox-3.4.4/rhythmdb/rhythmdb-tree.c:1257:6: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). f = fopen (savepath->str, "w"); data/rhythmbox-3.4.4/shell/rb-application.c:814:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *accels[2] = { data/rhythmbox-3.4.4/shell/rb-shell-preferences.c:229:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. name = (const char *)rhythmdb_nice_elt_name_from_propid (NULL, column_checks[i].prop); data/rhythmbox-3.4.4/sources/rb-auto-playlist-source.c:439:21: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). sort_direction = atoi ((char*) tmp); data/rhythmbox-3.4.4/sources/rb-library-source.c:290:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *set_locations[2]; data/rhythmbox-3.4.4/sources/rb-library-source.c:687:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *locations[2] = { NULL, NULL }; data/rhythmbox-3.4.4/sources/rb-library-source.c:1099:48: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. library_location = g_file_new_for_uri ((const char *)locations[0]); data/rhythmbox-3.4.4/sources/rb-media-player-source.c:1076:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). id = atoi (*i); data/rhythmbox-3.4.4/sources/rb-playlist-source.c:341:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *strings[3] = {0}; data/rhythmbox-3.4.4/widgets/rb-entry-view.c:982:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str[255]; data/rhythmbox-3.4.4/widgets/rb-entry-view.c:1413:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *strings[5] = {0}; data/rhythmbox-3.4.4/lib/libmediaplayerid/mpid-device.c:169:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (mount_path[strlen (mount_path) - 1] == '/') { data/rhythmbox-3.4.4/lib/libmediaplayerid/mpid-device.c:170:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). mount_path[strlen (mount_path) - 1] = '\0'; data/rhythmbox-3.4.4/lib/libmediaplayerid/mpid-util.c:151:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). munged_data_size = data_size + strlen (fake_group); data/rhythmbox-3.4.4/lib/libmediaplayerid/mpid-util.c:154:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). memcpy (munged + strlen (fake_group), data, data_size); data/rhythmbox-3.4.4/lib/rb-cut-and-paste-code.c:179:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). remaining_bytes = strlen (name); data/rhythmbox-3.4.4/lib/rb-file-helpers.c:660:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). query_string = uri + strlen (uri); data/rhythmbox-3.4.4/lib/rb-file-helpers.c:1621:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fat_path = full_path + strlen (mount_path); data/rhythmbox-3.4.4/lib/rb-util.c:874:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (retval, p, q - p + 1); data/rhythmbox-3.4.4/metadata/rb-ext-db-key.c:520:46: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). g_byte_array_append (k, (guint8 *)f->name, strlen (f->name)); data/rhythmbox-3.4.4/metadata/rb-ext-db-key.c:522:44: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). g_byte_array_append (k, (guint8 *)value, strlen (value)); data/rhythmbox-3.4.4/metadata/rb-ext-db.c:977:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). file_data_size = strlen (file_data); data/rhythmbox-3.4.4/plugins/android/android-resources.c:1152:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). __pragma(section(".CRT$XCU",read)) \ data/rhythmbox-3.4.4/plugins/android/android-resources.c:1160:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). __pragma(section(".CRT$XCU",read)) \ data/rhythmbox-3.4.4/plugins/android/android-resources.c:1172:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). section(".CRT$XCU",read) data/rhythmbox-3.4.4/plugins/android/android-resources.c:1179:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). section(".CRT$XCU",read) data/rhythmbox-3.4.4/plugins/audiocd/audiocd-resources.c:1005:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). __pragma(section(".CRT$XCU",read)) \ data/rhythmbox-3.4.4/plugins/audiocd/audiocd-resources.c:1013:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). __pragma(section(".CRT$XCU",read)) \ data/rhythmbox-3.4.4/plugins/audiocd/audiocd-resources.c:1025:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). section(".CRT$XCU",read) data/rhythmbox-3.4.4/plugins/audiocd/audiocd-resources.c:1032:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). section(".CRT$XCU",read) data/rhythmbox-3.4.4/plugins/audiocd/rb-audiocd-plugin.c:110:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). device_name = uri + strlen("cdda://"); data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-radio-source.c:667:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen (request)); data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-radio-source.c:790:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen (request)); data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-user.c:1777:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen (request)); data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler-user.c:1838:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen (request)); data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler.c:754:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen (breaks[0]) > strlen ("FAILED ")) { data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler.c:754:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen (breaks[0]) > strlen ("FAILED ")) { data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler.c:755:62: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). audioscrobbler->priv->status_msg = g_strdup (breaks[0] + strlen ("FAILED ")); data/rhythmbox-3.4.4/plugins/audioscrobbler/rb-audioscrobbler.c:798:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen (post_data)); data/rhythmbox-3.4.4/plugins/daap/daap-resources.c:1763:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). __pragma(section(".CRT$XCU",read)) \ data/rhythmbox-3.4.4/plugins/daap/daap-resources.c:1771:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). __pragma(section(".CRT$XCU",read)) \ data/rhythmbox-3.4.4/plugins/daap/daap-resources.c:1783:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). section(".CRT$XCU",read) data/rhythmbox-3.4.4/plugins/daap/daap-resources.c:1790:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). section(".CRT$XCU",read) data/rhythmbox-3.4.4/plugins/dbus-media-server/rb-dbus-media-server-plugin.c:341:71: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). entry = rhythmdb_entry_lookup_from_string (plugin->db, object_path + strlen (RB_MEDIASERVER2_ENTRY_PREFIX), TRUE); data/rhythmbox-3.4.4/plugins/dbus-media-server/rb-dbus-media-server-plugin.c:519:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). encoded = g_malloc0 (strlen (value) * 3 + 1); data/rhythmbox-3.4.4/plugins/dbus-media-server/rb-dbus-media-server-plugin.c:546:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). decoded = g_malloc0 (strlen (encoded) + 1); data/rhythmbox-3.4.4/plugins/fmradio/fmradio-resources.c:228:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). __pragma(section(".CRT$XCU",read)) \ data/rhythmbox-3.4.4/plugins/fmradio/fmradio-resources.c:236:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). __pragma(section(".CRT$XCU",read)) \ data/rhythmbox-3.4.4/plugins/fmradio/fmradio-resources.c:248:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). section(".CRT$XCU",read) data/rhythmbox-3.4.4/plugins/fmradio/fmradio-resources.c:255:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). section(".CRT$XCU",read) data/rhythmbox-3.4.4/plugins/fmradio/rb-fm-radio-source.c:439:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). &location[strlen("fmradio:")], NULL); data/rhythmbox-3.4.4/plugins/generic-player/generic-player-resources.c:1149:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). __pragma(section(".CRT$XCU",read)) \ data/rhythmbox-3.4.4/plugins/generic-player/generic-player-resources.c:1157:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). __pragma(section(".CRT$XCU",read)) \ data/rhythmbox-3.4.4/plugins/generic-player/generic-player-resources.c:1169:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). section(".CRT$XCU",read) data/rhythmbox-3.4.4/plugins/generic-player/generic-player-resources.c:1176:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). section(".CRT$XCU",read) data/rhythmbox-3.4.4/plugins/generic-player/rb-generic-player-source.c:712:54: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). playlist_uri = g_strdup_printf ("file://%s", uri + strlen (mount_uri)); data/rhythmbox-3.4.4/plugins/generic-player/rb-generic-player-source.c:1169:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). path[strlen (path) - strlen("%File")] = '\0'; data/rhythmbox-3.4.4/plugins/generic-player/rb-generic-player-source.c:1169:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). path[strlen (path) - strlen("%File")] = '\0'; data/rhythmbox-3.4.4/plugins/generic-player/rb-nokia770-source.c:84:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). path = uri + strlen (NOKIA_INTERNAL_MOUNTPOINT); data/rhythmbox-3.4.4/plugins/ipod/ipod-resources.c:2163:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). __pragma(section(".CRT$XCU",read)) \ data/rhythmbox-3.4.4/plugins/ipod/ipod-resources.c:2171:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). __pragma(section(".CRT$XCU",read)) \ data/rhythmbox-3.4.4/plugins/ipod/ipod-resources.c:2183:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). section(".CRT$XCU",read) data/rhythmbox-3.4.4/plugins/ipod/ipod-resources.c:2190:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). section(".CRT$XCU",read) data/rhythmbox-3.4.4/plugins/ipod/rb-ipod-helpers.c:359:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). g_assert (strlen (uri) >= 46); data/rhythmbox-3.4.4/plugins/ipod/rb-ipod-source.c:1733:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen (result) >= IPOD_MAX_PATH_LEN) { data/rhythmbox-3.4.4/plugins/ipod/rb-ipod-source.c:1741:46: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). suffix = result + IPOD_MAX_PATH_LEN - 4 - strlen(ext); data/rhythmbox-3.4.4/plugins/ipod/rb-ipod-source.c:1742:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). memmove (&result[IPOD_MAX_PATH_LEN - strlen (ext) - 1] , data/rhythmbox-3.4.4/plugins/ipod/rb-ipod-source.c:1743:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ext, strlen (ext) + 1); data/rhythmbox-3.4.4/plugins/ipod/rb-ipod-source.c:1874:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ipod_path = g_strdup (unix_path + strlen (mount_point)); data/rhythmbox-3.4.4/plugins/iradio/iradio-resources.c:1777:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). __pragma(section(".CRT$XCU",read)) \ data/rhythmbox-3.4.4/plugins/iradio/iradio-resources.c:1785:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). __pragma(section(".CRT$XCU",read)) \ data/rhythmbox-3.4.4/plugins/iradio/iradio-resources.c:1797:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). section(".CRT$XCU",read) data/rhythmbox-3.4.4/plugins/iradio/iradio-resources.c:1804:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). section(".CRT$XCU",read) data/rhythmbox-3.4.4/plugins/mpris/rb-mpris-plugin.c:681:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). client_entry_path += strlen (ENTRY_OBJECT_PATH_PREFIX); data/rhythmbox-3.4.4/plugins/mtpdevice/mtpdevice-resources.c:1309:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). __pragma(section(".CRT$XCU",read)) \ data/rhythmbox-3.4.4/plugins/mtpdevice/mtpdevice-resources.c:1317:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). __pragma(section(".CRT$XCU",read)) \ data/rhythmbox-3.4.4/plugins/mtpdevice/mtpdevice-resources.c:1329:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). section(".CRT$XCU",read) data/rhythmbox-3.4.4/plugins/mtpdevice/mtpdevice-resources.c:1336:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). section(".CRT$XCU",read) data/rhythmbox-3.4.4/plugins/mtpdevice/rb-mtp-gst-src.c:119:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). trackid = uri + strlen ("xrbmtp://"); data/rhythmbox-3.4.4/plugins/mtpdevice/rb-mtp-gst-src.c:154:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret = read (src->fd, mapinfo.data, length); data/rhythmbox-3.4.4/podcast/rb-podcast-manager.c:892:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). local_file_name[strlen (local_file_name) - strlen (data->query_string)] = '\0'; data/rhythmbox-3.4.4/podcast/rb-podcast-manager.c:892:46: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). local_file_name[strlen (local_file_name) - strlen (data->query_string)] = '\0'; data/rhythmbox-3.4.4/podcast/rb-podcast-manager.c:1034:45: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tmp = g_strdup_printf ("http://%s", url + strlen ("feed://")); data/rhythmbox-3.4.4/podcast/rb-podcast-manager.c:2010:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (data->title == NULL || strlen ((gchar *)data->title) == 0) { data/rhythmbox-3.4.4/podcast/rb-podcast-properties-dialog.c:153:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = g_malloc (strlen (str) + 1); data/rhythmbox-3.4.4/rhythmdb/rb-refstring.c:94:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ret = g_malloc (sizeof (RBRefString) + strlen (init)); data/rhythmbox-3.4.4/rhythmdb/rb-refstring.c:96:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). g_strlcpy (ret->value, init, strlen (init) + 1); data/rhythmbox-3.4.4/rhythmdb/rhythmdb-metadata-cache.c:180:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tdbkey.dsize = strlen(key); data/rhythmbox-3.4.4/rhythmdb/rhythmdb-metadata-cache.c:217:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tdbkey.dsize = strlen(key); data/rhythmbox-3.4.4/rhythmdb/rhythmdb-tree.c:896:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). RHYTHMDB_FWRITE (buf, 1, strlen (buf), ctx->handle, ctx->error); data/rhythmbox-3.4.4/rhythmdb/rhythmdb-tree.c:912:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). RHYTHMDB_FWRITE (buf, 1, strlen (buf), ctx->handle, ctx->error); data/rhythmbox-3.4.4/rhythmdb/rhythmdb-tree.c:936:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). RHYTHMDB_FWRITE (buf, 1, strlen (buf), ctx->handle, ctx->error); data/rhythmbox-3.4.4/rhythmdb/rhythmdb-tree.c:952:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). RHYTHMDB_FWRITE (buf, 1, strlen (buf), ctx->handle, ctx->error); data/rhythmbox-3.4.4/shell/rb-resources.c:24046:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). __pragma(section(".CRT$XCU",read)) \ data/rhythmbox-3.4.4/shell/rb-resources.c:24054:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). __pragma(section(".CRT$XCU",read)) \ data/rhythmbox-3.4.4/shell/rb-resources.c:24066:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). section(".CRT$XCU",read) data/rhythmbox-3.4.4/shell/rb-resources.c:24073:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). section(".CRT$XCU",read) data/rhythmbox-3.4.4/shell/rb-shell.c:343:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). data_size = strlen (data); data/rhythmbox-3.4.4/sources/rb-device-source.c:297:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen (uri_path); data/rhythmbox-3.4.4/sources/rb-display-page-model.c:306:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen (path_str)); data/rhythmbox-3.4.4/sources/rb-display-page-tree.c:687:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). result = (strncmp (folded_key, folded_name, strlen (folded_key)) != 0); data/rhythmbox-3.4.4/sources/rb-media-player-source.c:132:51: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return g_strconcat (priv->key_prefix, ":", uri + strlen (priv->uri_prefix), NULL); data/rhythmbox-3.4.4/sources/rb-media-player-source.c:144:46: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return g_strconcat (priv->uri_prefix, key + strlen (priv->key_prefix) + 1, NULL); data/rhythmbox-3.4.4/sources/rb-transfer-target.c:337:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). } else if (strlen (extension) > EXTENSION_LENGTH_LIMIT) { data/rhythmbox-3.4.4/tests/test-rhythmdb.c:205:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fail_unless (str && (strlen (str) > 0), "date not converted to string"); data/rhythmbox-3.4.4/tests/test-rhythmdb.c:215:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fail_unless (str && (strlen (str) > 0), "sort-key not generated"); data/rhythmbox-3.4.4/tests/test-rhythmdb.c:226:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fail_unless (str && (strlen (str) > 0), "sort-key not generated"); data/rhythmbox-3.4.4/tests/test-widgets-resources.c:1039:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). __pragma(section(".CRT$XCU",read)) \ data/rhythmbox-3.4.4/tests/test-widgets-resources.c:1047:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). __pragma(section(".CRT$XCU",read)) \ data/rhythmbox-3.4.4/tests/test-widgets-resources.c:1059:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). section(".CRT$XCU",read) data/rhythmbox-3.4.4/tests/test-widgets-resources.c:1066:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). section(".CRT$XCU",read) data/rhythmbox-3.4.4/widgets/nautilus-floating-bar.c:167:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). (strlen (self->primary_label) > 0); data/rhythmbox-3.4.4/widgets/nautilus-floating-bar.c:169:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). (strlen (self->details_label) > 0); data/rhythmbox-3.4.4/widgets/rb-song-info.c:1596:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen (new_text) == 0) data/rhythmbox-3.4.4/widgets/rb-song-info.c:1674:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen (year_str) > 0) { ANALYSIS SUMMARY: Hits = 168 Lines analyzed = 198725 in approximately 7.90 seconds (25148 lines/second) Physical Source Lines of Code (SLOC) = 148829 Hits@level = [0] 23 [1] 104 [2] 42 [3] 20 [4] 2 [5] 0 Hits@level+ = [0+] 191 [1+] 168 [2+] 64 [3+] 22 [4+] 2 [5+] 0 Hits/KSLOC@level+ = [0+] 1.28335 [1+] 1.12881 [2+] 0.430024 [3+] 0.147821 [4+] 0.0134382 [5+] 0 Dot directories skipped = 1 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.