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/xfburn-0.6.2/xfburn/xfburn-global.h Examining data/xfburn-0.6.2/xfburn/xfburn-error.h Examining data/xfburn-0.6.2/xfburn/xfburn-adding-progress.h Examining data/xfburn-0.6.2/xfburn/xfburn-blank-dialog.h Examining data/xfburn-0.6.2/xfburn/xfburn-perform-burn.h Examining data/xfburn-0.6.2/xfburn/xfburn-burn-data-composition-base-dialog.h Examining data/xfburn-0.6.2/xfburn/xfburn-burn-data-cd-composition-dialog.h Examining data/xfburn-0.6.2/xfburn/xfburn-burn-data-dvd-composition-dialog.h Examining data/xfburn-0.6.2/xfburn/xfburn-burn-audio-cd-composition-dialog.h Examining data/xfburn-0.6.2/xfburn/xfburn-transcoder.h Examining data/xfburn-0.6.2/xfburn/xfburn-audio-track.h Examining data/xfburn-0.6.2/xfburn/xfburn-transcoder-basic.h Examining data/xfburn-0.6.2/xfburn/xfburn-transcoder-gst.h Examining data/xfburn-0.6.2/xfburn/xfburn-audio-track-gst.h Examining data/xfburn-0.6.2/xfburn/xfburn-burn-image-dialog.h Examining data/xfburn-0.6.2/xfburn/xfburn-settings.h Examining data/xfburn-0.6.2/xfburn/xfburn-composition.h Examining data/xfburn-0.6.2/xfburn/xfburn-compositions-notebook.h Examining data/xfburn-0.6.2/xfburn/xfburn-create-iso-progress-dialog.h Examining data/xfburn-0.6.2/xfburn/xfburn-udev-manager.h Examining data/xfburn-0.6.2/xfburn/xfburn-device-box.h Examining data/xfburn-0.6.2/xfburn/xfburn-device.h Examining data/xfburn-0.6.2/xfburn/xfburn-device-list.h Examining data/xfburn-0.6.2/xfburn/xfburn-progress-dialog.h Examining data/xfburn-0.6.2/xfburn/xfburn-main-window.h Examining data/xfburn-0.6.2/xfburn/xfburn-notebook-tab.h Examining data/xfburn-0.6.2/xfburn/xfburn-file-browser.h Examining data/xfburn-0.6.2/xfburn/xfburn-welcome-tab.h Examining data/xfburn-0.6.2/xfburn/xfburn-data-composition.h Examining data/xfburn-0.6.2/xfburn/xfburn-audio-composition.h Examining data/xfburn-0.6.2/xfburn/xfburn-disc-usage.h Examining data/xfburn-0.6.2/xfburn/xfburn-data-disc-usage.h Examining data/xfburn-0.6.2/xfburn/xfburn-audio-disc-usage.h Examining data/xfburn-0.6.2/xfburn/xfburn-fs-browser.h Examining data/xfburn-0.6.2/xfburn/xfburn-directory-browser.h Examining data/xfburn-0.6.2/xfburn/xfburn-preferences-dialog.h Examining data/xfburn-0.6.2/xfburn/xfburn-cclosure-marshal.h Examining data/xfburn-0.6.2/xfburn/xfburn-utils.h Examining data/xfburn-0.6.2/xfburn/xfburn-main.h Examining data/xfburn-0.6.2/xfburn/xfburn-error.c Examining data/xfburn-0.6.2/xfburn/xfburn-adding-progress.c Examining data/xfburn-0.6.2/xfburn/xfburn-blank-dialog.c Examining data/xfburn-0.6.2/xfburn/xfburn-perform-burn.c Examining data/xfburn-0.6.2/xfburn/xfburn-burn-data-composition-base-dialog.c Examining data/xfburn-0.6.2/xfburn/xfburn-burn-data-cd-composition-dialog.c Examining data/xfburn-0.6.2/xfburn/xfburn-burn-data-dvd-composition-dialog.c Examining data/xfburn-0.6.2/xfburn/xfburn-burn-audio-cd-composition-dialog.c Examining data/xfburn-0.6.2/xfburn/xfburn-transcoder.c Examining data/xfburn-0.6.2/xfburn/xfburn-audio-track.c Examining data/xfburn-0.6.2/xfburn/xfburn-transcoder-basic.c Examining data/xfburn-0.6.2/xfburn/xfburn-transcoder-gst.c Examining data/xfburn-0.6.2/xfburn/xfburn-audio-track-gst.c Examining data/xfburn-0.6.2/xfburn/xfburn-burn-image-dialog.c Examining data/xfburn-0.6.2/xfburn/xfburn-composition.c Examining data/xfburn-0.6.2/xfburn/xfburn-compositions-notebook.c Examining data/xfburn-0.6.2/xfburn/xfburn-settings.c Examining data/xfburn-0.6.2/xfburn/xfburn-udev-manager.c Examining data/xfburn-0.6.2/xfburn/xfburn-device-box.c Examining data/xfburn-0.6.2/xfburn/xfburn-device.c Examining data/xfburn-0.6.2/xfburn/xfburn-device-list.c Examining data/xfburn-0.6.2/xfburn/xfburn-progress-dialog.c Examining data/xfburn-0.6.2/xfburn/xfburn-main.c Examining data/xfburn-0.6.2/xfburn/xfburn-main-window.c Examining data/xfburn-0.6.2/xfburn/xfburn-notebook-tab.c Examining data/xfburn-0.6.2/xfburn/xfburn-file-browser.c Examining data/xfburn-0.6.2/xfburn/xfburn-welcome-tab.c Examining data/xfburn-0.6.2/xfburn/xfburn-data-composition.c Examining data/xfburn-0.6.2/xfburn/xfburn-audio-composition.c Examining data/xfburn-0.6.2/xfburn/xfburn-disc-usage.c Examining data/xfburn-0.6.2/xfburn/xfburn-data-disc-usage.c Examining data/xfburn-0.6.2/xfburn/xfburn-audio-disc-usage.c Examining data/xfburn-0.6.2/xfburn/xfburn-fs-browser.c Examining data/xfburn-0.6.2/xfburn/xfburn-directory-browser.c Examining data/xfburn-0.6.2/xfburn/xfburn-preferences-dialog.c Examining data/xfburn-0.6.2/xfburn/xfburn-cclosure-marshal.c Examining data/xfburn-0.6.2/xfburn/xfburn-utils.c Examining data/xfburn-0.6.2/xfburn/xfburn-copy-cd-dialog.c Examining data/xfburn-0.6.2/xfburn/xfburn-copy-cd-progress-dialog.c Examining data/xfburn-0.6.2/xfburn/xfburn-copy-dvd-dialog.c Examining data/xfburn-0.6.2/xfburn/xfburn-copy-cd-dialog.h Examining data/xfburn-0.6.2/xfburn/xfburn-copy-cd-progress-dialog.h Examining data/xfburn-0.6.2/xfburn/xfburn-copy-dvd-dialog.h Examining data/xfburn-0.6.2/xfburn/xfburn-create-iso-progress-dialog.c FINAL RESULTS: data/xfburn-0.6.2/xfburn/xfburn-burn-data-composition-base-dialog.c:237:58: [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. tmp_dir = xfburn_settings_get_string ("temporary-dir", g_get_tmp_dir ()); data/xfburn-0.6.2/xfburn/xfburn-audio-composition.c:2030:8: [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 (filename, O_RDONLY, 0); data/xfburn-0.6.2/xfburn/xfburn-audio-composition.c:2142:18: [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). file_content = fopen (priv->filename, "w+"); data/xfburn-0.6.2/xfburn/xfburn-audio-track-gst.c:53: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 (copy, boxed, sizeof (XfburnAudioTrackGst)); data/xfburn-0.6.2/xfburn/xfburn-audio-track.c:53: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 (copy, boxed, sizeof (XfburnAudioTrack)); data/xfburn-0.6.2/xfburn/xfburn-blank-dialog.c:309:3: [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 msg_text[BURN_MSGS_MESSAGE_LEN]; data/xfburn-0.6.2/xfburn/xfburn-blank-dialog.c:311:3: [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 severity[80]; data/xfburn-0.6.2/xfburn/xfburn-burn-data-composition-base-dialog.c:436:8: [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 (params->iso_path, O_WRONLY | O_CREAT | O_TRUNC, 0644); data/xfburn-0.6.2/xfburn/xfburn-burn-image-dialog.c:332:8: [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 (params->iso_path, O_RDONLY); data/xfburn-0.6.2/xfburn/xfburn-burn-image-dialog.c:547:8: [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). fp = fopen(iso_path, "r"); data/xfburn-0.6.2/xfburn/xfburn-data-composition.c:1037:3: [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 timestr[80]; data/xfburn-0.6.2/xfburn/xfburn-data-composition.c:1186:13: [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 (parent, &iter_parent, sizeof (GtkTreeIter)); data/xfburn-0.6.2/xfburn/xfburn-data-composition.c:1194:9: [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 (parent, insertion, sizeof (GtkTreeIter)); data/xfburn-0.6.2/xfburn/xfburn-data-composition.c:2187:8: [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 (filename, O_RDONLY, 0); data/xfburn-0.6.2/xfburn/xfburn-data-composition.c:2308:18: [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). file_content = fopen (priv->filename, "w+"); data/xfburn-0.6.2/xfburn/xfburn-device-list.c:279:5: [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 addr[BURN_DRIVE_ADR_LEN]; data/xfburn-0.6.2/xfburn/xfburn-device-list.c:280:5: [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 rev[5]; data/xfburn-0.6.2/xfburn/xfburn-device.c:91:3: [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 profile_name[80]; data/xfburn-0.6.2/xfburn/xfburn-perform-burn.c:45:3: [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 profile_name[80]; data/xfburn-0.6.2/xfburn/xfburn-perform-burn.c:73:5: [2] (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). Risk is low because the source is a constant string. strcpy(profile_name, "DVD+RW as BD-RE"); data/xfburn-0.6.2/xfburn/xfburn-perform-burn.c:177:5: [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 reason[BURN_REASONS_LEN]; data/xfburn-0.6.2/xfburn/xfburn-perform-burn.c:236:3: [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 media_name[80]; data/xfburn-0.6.2/xfburn/xfburn-perform-burn.c:242:3: [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 msg_text[BURN_MSGS_MESSAGE_LEN]; data/xfburn-0.6.2/xfburn/xfburn-perform-burn.c:244:3: [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 severity[80]; data/xfburn-0.6.2/xfburn/xfburn-perform-burn.c:465:3: [2] (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). Risk is low because the source is a constant string. strcpy (msg_text, _("see console")); data/xfburn-0.6.2/xfburn/xfburn-settings.c:168:19: [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). file_settings = fopen (priv->full_path, "w+"); data/xfburn-0.6.2/xfburn/xfburn-settings.c:213:55: [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). xfburn_settings_set_int (attribute_values[i], atoi (attribute_values[k])); data/xfburn-0.6.2/xfburn/xfburn-settings.c:255:8: [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 (priv->full_path, O_RDONLY, 0); data/xfburn-0.6.2/xfburn/xfburn-transcoder-basic.c:61:29: [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 gboolean needs_swap (char header[44]); data/xfburn-0.6.2/xfburn/xfburn-transcoder-basic.c:199:8: [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 (path, 0); data/xfburn-0.6.2/xfburn/xfburn-transcoder-basic.c:274:3: [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 header[44]; data/xfburn-0.6.2/xfburn/xfburn-transcoder-basic.c:278: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). atrack->fd = open (atrack->inputfile, 0); data/xfburn-0.6.2/xfburn/xfburn-transcoder-basic.c:326:13: [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. needs_swap (char header[44]) data/xfburn-0.6.2/xfburn/xfburn-audio-composition.c:306:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (trans_name, xfburn_transcoder_get_name (priv->trans), MAX_NAME_LENGTH); data/xfburn-0.6.2/xfburn/xfburn-audio-composition.c:1157: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). if ( (strlen (basename) > 1) && (basename[0] == '.') ) { data/xfburn-0.6.2/xfburn/xfburn-audio-composition.c:1389:21: [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 (full_path[strlen (full_path) - 1] == '\r') data/xfburn-0.6.2/xfburn/xfburn-audio-composition.c:1390: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). full_path[strlen (full_path) - 1] = '\0'; data/xfburn-0.6.2/xfburn/xfburn-audio-composition.c:1753: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). if (full_path[strlen (full_path) - 1] == '\r') data/xfburn-0.6.2/xfburn/xfburn-audio-composition.c:1754:21: [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). full_path[strlen (full_path) - 1] = '\0'; data/xfburn-0.6.2/xfburn/xfburn-blank-dialog.c:319:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep (1001); data/xfburn-0.6.2/xfburn/xfburn-blank-dialog.c:323:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep (1001); data/xfburn-0.6.2/xfburn/xfburn-blank-dialog.c:396:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(500000); data/xfburn-0.6.2/xfburn/xfburn-burn-data-composition-base-dialog.c:457:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read_fn = params->src->read; data/xfburn-0.6.2/xfburn/xfburn-burn-image-dialog.c:490:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(100001); data/xfburn-0.6.2/xfburn/xfburn-burn-image-dialog.c:494:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(100001); data/xfburn-0.6.2/xfburn/xfburn-data-composition.c:681:7: [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 (newtext) == 0) { data/xfburn-0.6.2/xfburn/xfburn-data-composition.c:1416:21: [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 (full_path[strlen (full_path) - 1] == '\r') data/xfburn-0.6.2/xfburn/xfburn-data-composition.c:1417: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). full_path[strlen (full_path) - 1] = '\0'; data/xfburn-0.6.2/xfburn/xfburn-data-composition.c:1768: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). if (full_path[strlen (full_path) - 1] == '\r') data/xfburn-0.6.2/xfburn/xfburn-data-composition.c:1769:21: [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). full_path[strlen (full_path) - 1] = '\0'; data/xfburn-0.6.2/xfburn/xfburn-device-list.c:264:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep (1002); data/xfburn-0.6.2/xfburn/xfburn-device-list.c:283:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (rev, drives[i].revision, 5); data/xfburn-0.6.2/xfburn/xfburn-device-list.c:369:3: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep (1000001); data/xfburn-0.6.2/xfburn/xfburn-device.c:192:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (priv->profile_name, g_value_get_string(value), 80); data/xfburn-0.6.2/xfburn/xfburn-device.c:353:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(100001); data/xfburn-0.6.2/xfburn/xfburn-device.c:474:9: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(i*100001); data/xfburn-0.6.2/xfburn/xfburn-device.c:476:7: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(i*100001); data/xfburn-0.6.2/xfburn/xfburn-fs-browser.c:202: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). if (gtk_tree_path_get_depth (path) > 1 && strlen (value) == 0) { data/xfburn-0.6.2/xfburn/xfburn-perform-burn.c:132:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep (500000); data/xfburn-0.6.2/xfburn/xfburn-perform-burn.c:256:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(100001); data/xfburn-0.6.2/xfburn/xfburn-perform-burn.c:268:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(100001); data/xfburn-0.6.2/xfburn/xfburn-perform-burn.c:318:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(1002); data/xfburn-0.6.2/xfburn/xfburn-perform-burn.c:460:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep (500000); data/xfburn-0.6.2/xfburn/xfburn-transcoder-basic.c:185: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). int len = strlen (path); data/xfburn-0.6.2/xfburn/xfburn-transcoder-basic.c:207:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). hread = read (fd, header, 44); data/xfburn-0.6.2/xfburn/xfburn-transcoder-basic.c:287:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). thead = read (atrack->fd, header, 44); data/xfburn-0.6.2/xfburn/xfburn-utils.c:138:7: [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 (text) > 0) ANALYSIS SUMMARY: Hits = 67 Lines analyzed = 20730 in approximately 0.50 seconds (41478 lines/second) Physical Source Lines of Code (SLOC) = 13748 Hits@level = [0] 26 [1] 34 [2] 32 [3] 1 [4] 0 [5] 0 Hits@level+ = [0+] 93 [1+] 67 [2+] 33 [3+] 1 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 6.76462 [1+] 4.87344 [2+] 2.40035 [3+] 0.0727379 [4+] 0 [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.