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/aeolus-0.9.9/source/rankwave.h Examining data/aeolus-0.9.9/source/midimatrix.h Examining data/aeolus-0.9.9/source/audio.cc Examining data/aeolus-0.9.9/source/imidi.h Examining data/aeolus-0.9.9/source/functionwin.cc Examining data/aeolus-0.9.9/source/midiwin.cc Examining data/aeolus-0.9.9/source/global.h Examining data/aeolus-0.9.9/source/prbsgen.h Examining data/aeolus-0.9.9/source/editwin.cc Examining data/aeolus-0.9.9/source/editwin.h Examining data/aeolus-0.9.9/source/rngen.h Examining data/aeolus-0.9.9/source/slave.h Examining data/aeolus-0.9.9/source/instrwin.h Examining data/aeolus-0.9.9/source/audio.h Examining data/aeolus-0.9.9/source/tiface.h Examining data/aeolus-0.9.9/source/imidi.cc Examining data/aeolus-0.9.9/source/rankwave.cc Examining data/aeolus-0.9.9/source/exp2ap.cc Examining data/aeolus-0.9.9/source/mainwin.cc Examining data/aeolus-0.9.9/source/lfqueue.cc Examining data/aeolus-0.9.9/source/rngen.cc Examining data/aeolus-0.9.9/source/division.h Examining data/aeolus-0.9.9/source/audiowin.h Examining data/aeolus-0.9.9/source/scales.cc Examining data/aeolus-0.9.9/source/styles.h Examining data/aeolus-0.9.9/source/main.cc Examining data/aeolus-0.9.9/source/multislider.cc Examining data/aeolus-0.9.9/source/slave.cc Examining data/aeolus-0.9.9/source/multislider.h Examining data/aeolus-0.9.9/source/audiowin.cc Examining data/aeolus-0.9.9/source/model.cc Examining data/aeolus-0.9.9/source/instrwin.cc Examining data/aeolus-0.9.9/source/mainwin.h Examining data/aeolus-0.9.9/source/scales.h Examining data/aeolus-0.9.9/source/addsynth.h Examining data/aeolus-0.9.9/source/midimatrix.cc Examining data/aeolus-0.9.9/source/addsynth.cc Examining data/aeolus-0.9.9/source/callbacks.h Examining data/aeolus-0.9.9/source/division.cc Examining data/aeolus-0.9.9/source/reverb.h Examining data/aeolus-0.9.9/source/styles.cc Examining data/aeolus-0.9.9/source/midiwin.h Examining data/aeolus-0.9.9/source/model.h Examining data/aeolus-0.9.9/source/xiface.h Examining data/aeolus-0.9.9/source/tiface.cc Examining data/aeolus-0.9.9/source/iface.h Examining data/aeolus-0.9.9/source/messages.h Examining data/aeolus-0.9.9/source/xiface.cc Examining data/aeolus-0.9.9/source/asection.h Examining data/aeolus-0.9.9/source/reverb.cc Examining data/aeolus-0.9.9/source/functionwin.h Examining data/aeolus-0.9.9/source/asection.cc Examining data/aeolus-0.9.9/source/lfqueue.h FINAL RESULTS: data/aeolus-0.9.9/source/addsynth.cc:231:5: [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 (path, sdir); data/aeolus-0.9.9/source/addsynth.cc:233:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat (path, _filename); data/aeolus-0.9.9/source/addsynth.cc:282:5: [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 (path, sdir); data/aeolus-0.9.9/source/addsynth.cc:284:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat (path, _filename); data/aeolus-0.9.9/source/audiowin.cc:114:17: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat (S->_label, M->_divisd [j]._label); data/aeolus-0.9.9/source/audiowin.cc:139:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (s, "%s Aeolus-%s Audio settings", M->_appid, VERSION); data/aeolus-0.9.9/source/editwin.cc:441:17: [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 (_edit->_stopname, _name->text ()); data/aeolus-0.9.9/source/editwin.cc:710:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (s, "Aeolus-%s Additive synthesis editor", VERSION); data/aeolus-0.9.9/source/editwin.cc:722:5: [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 (_edit->_filename, _file->text ()); data/aeolus-0.9.9/source/editwin.cc:739:5: [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 (_edit->_filename, _file->text ()); data/aeolus-0.9.9/source/editwin.cc:740:5: [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 (_edit->_stopname, _name->text ()); data/aeolus-0.9.9/source/editwin.cc:741:5: [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 (_edit->_mnemonic, _mnem->text ()); data/aeolus-0.9.9/source/editwin.cc:742:5: [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 (_edit->_copyrite, _copy->text ()); data/aeolus-0.9.9/source/editwin.cc:743:5: [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 (_edit->_comments, _comm->text ()); data/aeolus-0.9.9/source/instrwin.cc:179:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (s, "%s Aeolus-%s Instrument settings", M->_appid, VERSION); data/aeolus-0.9.9/source/main.cc:161:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (s, "In file '%s':", path); data/aeolus-0.9.9/source/main.cc:190:12: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (p) sprintf (s, "%s/.aeolusrc", p); data/aeolus-0.9.9/source/main.cc:197:16: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (t_opt) sprintf (s, "%s/aeolus_txt.so", LIBDIR); data/aeolus-0.9.9/source/main.cc:198:16: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. else sprintf (s, "%s/aeolus_x11.so", LIBDIR); data/aeolus-0.9.9/source/mainwin.cc:60:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (s, "Aeolus-%s", VERSION); data/aeolus-0.9.9/source/mainwin.cc:376:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (s, "%s Aeolus-%s [%d:%d]", M->_appid, VERSION, M->_client, M->_ipport); data/aeolus-0.9.9/source/mainwin.cc:494:5: [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 (p, label); data/aeolus-0.9.9/source/midiwin.cc:118:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (s, "%s Aeolus-%s Midi settings", M->_appid, VERSION); data/aeolus-0.9.9/source/model.cc:100:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (_instr, "%s/%s", stops, instr); data/aeolus-0.9.9/source/model.cc:101:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (_waves, "%s/%s", stops, waves); data/aeolus-0.9.9/source/model.cc:835:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (buff, "%s/definition", _instr); data/aeolus-0.9.9/source/model.cc:887:22: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. else if (sscanf (q, "%s%n", t1, &n) != 1) stat = ARGS; data/aeolus-0.9.9/source/model.cc:901:21: [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 (K->_label, t1); data/aeolus-0.9.9/source/model.cc:910:22: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. else if (sscanf (q, "%s%d%d%n", t1, &k, &s, &n) != 3) stat = ARGS; data/aeolus-0.9.9/source/model.cc:925:7: [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 (D->_label, t1); data/aeolus-0.9.9/source/model.cc:941:22: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. else if (sscanf (q, "%s%n", t1, &n) != 1) stat = ARGS; data/aeolus-0.9.9/source/model.cc:954:7: [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 (G->_label, t1); data/aeolus-0.9.9/source/model.cc:972:22: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. else if (sscanf (q, "%c%d%s%n", &c, &d, t1, &n) != 3) stat = ARGS; data/aeolus-0.9.9/source/model.cc:985:14: [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 (A->_filename, t1); data/aeolus-0.9.9/source/model.cc:1017:7: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. if (sscanf (q, "%d%s%s%n", &d, t1, t2, &n) != 3) stat = ARGS; data/aeolus-0.9.9/source/model.cc:1029:4: [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 (I->_mnemo, t1); data/aeolus-0.9.9/source/model.cc:1030:4: [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 (I->_label, t2); data/aeolus-0.9.9/source/model.cc:1062:21: [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 (I->_label, R->_sdef->_stopname); data/aeolus-0.9.9/source/model.cc:1063:21: [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 (I->_mnemo, R->_sdef->_mnemonic); data/aeolus-0.9.9/source/model.cc:1083:22: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. else if (sscanf (q, "%d%d%s%s%n", &k, &d, t1, t2, &n) != 4) stat = ARGS; data/aeolus-0.9.9/source/model.cc:1097:21: [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 (I->_mnemo, t1); data/aeolus-0.9.9/source/model.cc:1098:21: [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 (I->_label, t2); data/aeolus-0.9.9/source/model.cc:1176:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (buff, "%s/definition", _instr); data/aeolus-0.9.9/source/model.cc:1327:16: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (p) sprintf (name, "%s/.aeolus-presets", p); data/aeolus-0.9.9/source/model.cc:1332:2: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (name, "%s/presets", _instr); data/aeolus-0.9.9/source/model.cc:1407:16: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (p) sprintf (name, "%s/.aeolus-presets", p); data/aeolus-0.9.9/source/model.cc:1412:2: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (name, "%s/presets", _instr); data/aeolus-0.9.9/source/rankwave.cc:446:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (name, "%s/%s", path, D->_filename); data/aeolus-0.9.9/source/rankwave.cc:495:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (name, "%s/%s", path, D->_filename); data/aeolus-0.9.9/source/tiface.cc:388:5: [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 (_tempstr, p); data/aeolus-0.9.9/source/tiface.cc:390:12: [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). if (t) strcpy (t, t + 2); data/aeolus-0.9.9/source/tiface.cc:440:13: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. if ( (sscanf (p, "%s%n", s, &n) != 1) data/aeolus-0.9.9/source/tiface.cc:457:13: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. if ( (sscanf (p, "%s%n", s, &n) != 1) data/aeolus-0.9.9/source/tiface.cc:481:12: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. while (sscanf (p, "%s%n", s, &n) == 1) data/aeolus-0.9.9/source/main.cc:98:17: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ((k = getopt (ac, av, options)) != -1) data/aeolus-0.9.9/source/main.cc:189: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. p = getenv ("HOME"); data/aeolus-0.9.9/source/model.cc:1326:31: [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. p = (unsigned char *)(getenv ("HOME")); data/aeolus-0.9.9/source/model.cc:1406:31: [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. p = (unsigned char *)(getenv ("HOME")); data/aeolus-0.9.9/source/addsynth.cc:114: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 d [N_NOTE * sizeof (float)]; data/aeolus-0.9.9/source/addsynth.cc:142: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 d [sizeof (int) + N_NOTE * sizeof (float)]; data/aeolus-0.9.9/source/addsynth.cc:228: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 d [32]; data/aeolus-0.9.9/source/addsynth.cc:229: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 path [1024]; data/aeolus-0.9.9/source/addsynth.cc:235:16: [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). if (! (F = fopen (path, "w"))) data/aeolus-0.9.9/source/addsynth.cc:242: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 (d, "AEOLUS"); data/aeolus-0.9.9/source/addsynth.cc:278: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 d [32]; data/aeolus-0.9.9/source/addsynth.cc: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 path [1024]; data/aeolus-0.9.9/source/addsynth.cc:288:16: [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). if (! (F = fopen (path, "r"))) data/aeolus-0.9.9/source/addsynth.h:99: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 _filename [64]; data/aeolus-0.9.9/source/addsynth.h:100: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 _stopname [32]; data/aeolus-0.9.9/source/addsynth.h:101: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 _copyrite [56]; data/aeolus-0.9.9/source/addsynth.h:102: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 _mnemonic [8]; data/aeolus-0.9.9/source/addsynth.h:103: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 _comments [56]; data/aeolus-0.9.9/source/addsynth.h:104: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 _reserved [8]; data/aeolus-0.9.9/source/audio.h:147:14: [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. unsigned char _keymap [NNOTES]; data/aeolus-0.9.9/source/audio.h:152:18: [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 *_ports_stereo [2]; data/aeolus-0.9.9/source/audio.h:153:18: [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 *_ports_ambis1 [4]; data/aeolus-0.9.9/source/audiowin.cc:86: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 s [256]; data/aeolus-0.9.9/source/audiowin.cc:113:22: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. if (S->_label [0]) strcat (S->_label, " + "); data/aeolus-0.9.9/source/audiowin.h:34: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 _label [64]; data/aeolus-0.9.9/source/editwin.cc:69: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 s [4]; data/aeolus-0.9.9/source/editwin.cc:76:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (s, "%d", i + 1); data/aeolus-0.9.9/source/editwin.cc:120: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 s [4]; data/aeolus-0.9.9/source/editwin.cc:126:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (s, "%d", 36 + 6 * i); data/aeolus-0.9.9/source/editwin.cc:665: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 s [256]; data/aeolus-0.9.9/source/editwin.h:169:18: [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 *_pftb_text [N_PFTB]; data/aeolus-0.9.9/source/editwin.h:170:18: [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 _fn [N_PFTB]; data/aeolus-0.9.9/source/editwin.h:171:18: [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 _fd [N_PFTB]; data/aeolus-0.9.9/source/functionwin.h:85: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 *_st [NFUNC]; data/aeolus-0.9.9/source/imidi.cc:102:5: [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 (M->_chbits, _midimap, 16 * sizeof (uint16_t)); data/aeolus-0.9.9/source/instrwin.cc:113: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 s [256]; data/aeolus-0.9.9/source/instrwin.cc:221: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 s [16]; data/aeolus-0.9.9/source/instrwin.cc:223:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (s, "%3.1lf", _freq); data/aeolus-0.9.9/source/instrwin.h:98:11: [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 *_temped [NTEMPE]; data/aeolus-0.9.9/source/main.cc:42: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. static char optline [1024]; data/aeolus-0.9.9/source/main.cc:115:28: [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). case 'r' : r_val = atoi (optarg); break; data/aeolus-0.9.9/source/main.cc:116:28: [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). case 'p' : p_val = atoi (optarg); break; data/aeolus-0.9.9/source/main.cc:117:28: [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). case 'n' : n_val = atoi (optarg); break; data/aeolus-0.9.9/source/main.cc:141: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 s [1024]; data/aeolus-0.9.9/source/main.cc:143: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 *av [30]; data/aeolus-0.9.9/source/main.cc:148:14: [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). if ((F = fopen (path, "r"))) data/aeolus-0.9.9/source/main.cc:185: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 s [1024]; data/aeolus-0.9.9/source/main.cc:191:10: [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. else strcpy (s, ".aeolusrc"); data/aeolus-0.9.9/source/mainwin.cc:53: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 s [256]; data/aeolus-0.9.9/source/mainwin.cc:159: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 s [256]; data/aeolus-0.9.9/source/mainwin.cc:213:17: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (s, "%d:%d Stored", _b_mod + 1, _p_mod + 1); data/aeolus-0.9.9/source/mainwin.cc:220:17: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (s, "%d:%d Stored", _b_mod + 1, _p_mod + 1); data/aeolus-0.9.9/source/mainwin.cc:303: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 s [256]; data/aeolus-0.9.9/source/mainwin.cc:426: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 s [256]; data/aeolus-0.9.9/source/mainwin.cc:430: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 (_st_mod, M->_bits, NGROUP * sizeof (uint32_t)); data/aeolus-0.9.9/source/mainwin.cc:431:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (s, "%d:%d Loaded", M->_bank + 1, M->_pres + 1); data/aeolus-0.9.9/source/mainwin.cc:436:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (s, "%d:%d Empty", M->_bank + 1, M->_pres + 1); data/aeolus-0.9.9/source/mainwin.cc:481: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 s [80]; data/aeolus-0.9.9/source/mainwin.cc:483:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (s, "%d", (_local ? _b_loc : _b_mod) + 1); data/aeolus-0.9.9/source/mainwin.cc:485:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (s, "%d", (_local ? _p_loc : _p_mod) + 1); data/aeolus-0.9.9/source/mainwin.cc:492: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 p [32], *q; data/aeolus-0.9.9/source/messages.h:291:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (bits) memcpy (_bits, bits, 16 * sizeof (uint16_t)); data/aeolus-0.9.9/source/messages.h:310:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (bits) memcpy (_bits, bits, NGROUP * sizeof (uint32_t)); data/aeolus-0.9.9/source/midimatrix.cc:76:5: [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 (_chconf, d, 16 * sizeof (uint16_t)); data/aeolus-0.9.9/source/midimatrix.cc:114: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 s [4]; data/aeolus-0.9.9/source/midimatrix.cc:143:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (s, "%d", i); data/aeolus-0.9.9/source/midimatrix.h:61:11: [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 *_label [15]; data/aeolus-0.9.9/source/midiwin.cc:88: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 s [256]; data/aeolus-0.9.9/source/midiwin.cc:100:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (s, "%d", i + 1); data/aeolus-0.9.9/source/model.cc:229: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 (_chconf [X->_index]._bits, X->_bits, 16 * sizeof (uint16_t)); data/aeolus-0.9.9/source/model.cc:821: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 buff [1200]; data/aeolus-0.9.9/source/model.cc:822: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 t1 [256]; data/aeolus-0.9.9/source/model.cc:823: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 t2 [256]; data/aeolus-0.9.9/source/model.cc:836:16: [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). if (! (F = fopen (buff, "r"))) data/aeolus-0.9.9/source/model.cc:1168: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 buff [1200]; data/aeolus-0.9.9/source/model.cc:1177:16: [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). if (! (F = fopen (buff, "w"))) data/aeolus-0.9.9/source/model.cc:1319: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 name [1200]; data/aeolus-0.9.9/source/model.cc:1320:14: [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. unsigned char *p, data [256]; data/aeolus-0.9.9/source/model.cc:1328:14: [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. else strcpy (name, ".aeolus-presets"); data/aeolus-0.9.9/source/model.cc:1334:16: [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). if (! (F = fopen (name, "r"))) data/aeolus-0.9.9/source/model.cc:1399: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 name [1200]; data/aeolus-0.9.9/source/model.cc:1400:14: [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. unsigned char *p, data [256]; data/aeolus-0.9.9/source/model.cc:1408:14: [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. else strcpy (name, ".aeolus-presets"); data/aeolus-0.9.9/source/model.cc:1414:16: [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). if (! (F = fopen (name, "w"))) data/aeolus-0.9.9/source/model.cc:1421: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 ((char *) data, "PRESET"); data/aeolus-0.9.9/source/model.h:39: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 _label [64]; data/aeolus-0.9.9/source/model.h:62: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 _label [16]; data/aeolus-0.9.9/source/model.h:81: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 _label [16]; data/aeolus-0.9.9/source/model.h:94: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 _label [32]; data/aeolus-0.9.9/source/model.h:95: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 _mnemo [8]; data/aeolus-0.9.9/source/model.h:112: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 _label [16]; data/aeolus-0.9.9/source/model.h:194: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 _instr [1024]; data/aeolus-0.9.9/source/model.h:195: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 _waves [1024]; data/aeolus-0.9.9/source/rankwave.cc:442: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 name [1024]; data/aeolus-0.9.9/source/rankwave.cc:443: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 data [64]; data/aeolus-0.9.9/source/rankwave.cc:447:36: [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. if ((p = strrchr (name, '.'))) strcpy (p, ".ae1"); data/aeolus-0.9.9/source/rankwave.cc:448:10: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. else strcat (name, ".ae1"); data/aeolus-0.9.9/source/rankwave.cc:450:9: [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 (name, "wb"); data/aeolus-0.9.9/source/rankwave.cc:458: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 (data, "ae1"); data/aeolus-0.9.9/source/rankwave.cc:473:5: [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 (data + 16, scale, 12 * sizeof (float)); data/aeolus-0.9.9/source/rankwave.cc:490: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 name [1024]; data/aeolus-0.9.9/source/rankwave.cc:491: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 data [64]; data/aeolus-0.9.9/source/rankwave.cc:496:36: [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. if ((p = strrchr (name, '.'))) strcpy (p, ".ae1"); data/aeolus-0.9.9/source/rankwave.cc:497:10: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. else strcat (name, ".ae1"); data/aeolus-0.9.9/source/rankwave.cc:499:9: [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 (name, "rb"); data/aeolus-0.9.9/source/tiface.cc:438: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 s [64]; data/aeolus-0.9.9/source/tiface.h:87: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 _tempstr [64]; data/aeolus-0.9.9/source/addsynth.cc:131:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void N_func::read (FILE *F) data/aeolus-0.9.9/source/addsynth.cc:188:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void HN_func::read (FILE *F, int k) data/aeolus-0.9.9/source/addsynth.cc:190:43: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). for (int j = 0; j < k; j++) (_h + j)->read (F); data/aeolus-0.9.9/source/addsynth.cc:232:5: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat (path, "/"); data/aeolus-0.9.9/source/addsynth.cc:283:5: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat (path, "/"); data/aeolus-0.9.9/source/addsynth.cc:316:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _n_vol.read (F); data/aeolus-0.9.9/source/addsynth.cc:317:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _n_off.read (F); data/aeolus-0.9.9/source/addsynth.cc:318:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _n_ran.read (F); data/aeolus-0.9.9/source/addsynth.cc:321:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _n_ins.read (F); data/aeolus-0.9.9/source/addsynth.cc:322:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _n_att.read (F); data/aeolus-0.9.9/source/addsynth.cc:323:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _n_atd.read (F); data/aeolus-0.9.9/source/addsynth.cc:324:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _n_dct.read (F); data/aeolus-0.9.9/source/addsynth.cc:325:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _n_dcd.read (F); data/aeolus-0.9.9/source/addsynth.cc:331:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _h_lev.read (F, k); data/aeolus-0.9.9/source/addsynth.cc:332:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _h_ran.read (F, k); data/aeolus-0.9.9/source/addsynth.cc:333:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _h_att.read (F, k); data/aeolus-0.9.9/source/addsynth.cc:334:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _h_atp.read (F, k); data/aeolus-0.9.9/source/addsynth.h:56:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read (FILE *F); data/aeolus-0.9.9/source/addsynth.h:80:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read (FILE *F, int k); data/aeolus-0.9.9/source/audio.cc:459:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). k = Q->read (0); data/aeolus-0.9.9/source/audio.cc:539:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). u.i = Q->read (1); data/aeolus-0.9.9/source/lfqueue.h:41:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). uint8_t read (int i) { return _data [(_nrd + i) & _mask]; } data/aeolus-0.9.9/source/lfqueue.h:66:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). uint16_t read (int i) { return _data [(_nrd + i) & _mask]; } data/aeolus-0.9.9/source/lfqueue.h:91:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). uint32_t read (int i) { return _data [(_nrd + i) & _mask]; } data/aeolus-0.9.9/source/model.cc:382:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). t = _qmidi->read (0); data/aeolus-0.9.9/source/model.cc:383:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). p = _qmidi->read (1); data/aeolus-0.9.9/source/model.cc:384:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). v = _qmidi->read (2); data/aeolus-0.9.9/source/model.cc:896:26: [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 (t1) > 15) stat = BAD_STR1; data/aeolus-0.9.9/source/model.cc:919:12: [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 (t1) > 15) stat = BAD_STR1; data/aeolus-0.9.9/source/model.cc:950:12: [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 (t1) > 15) stat = BAD_STR1; data/aeolus-0.9.9/source/model.cc:981:26: [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 (t1) > 63) stat = BAD_STR1; data/aeolus-0.9.9/source/model.cc:1023: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). else if (strlen (t1) > 7) stat = BAD_STR1; data/aeolus-0.9.9/source/model.cc:1024:16: [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 (t2) > 31) stat = BAD_STR2; data/aeolus-0.9.9/source/model.cc:1090:12: [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 (t1) > 7) stat = BAD_STR1; data/aeolus-0.9.9/source/model.cc:1091:12: [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 (t2) > 31) stat = BAD_STR2; data/aeolus-0.9.9/source/tiface.cc:49:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Reader::read (void) data/aeolus-0.9.9/source/tiface.cc:183:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _reader.read (); data/aeolus-0.9.9/source/tiface.cc:249:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _reader.read (); data/aeolus-0.9.9/source/tiface.h:35:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read (void); ANALYSIS SUMMARY: Hits = 200 Lines analyzed = 12197 in approximately 0.27 seconds (44813 lines/second) Physical Source Lines of Code (SLOC) = 9115 Hits@level = [0] 163 [1] 39 [2] 103 [3] 4 [4] 54 [5] 0 Hits@level+ = [0+] 363 [1+] 200 [2+] 161 [3+] 58 [4+] 54 [5+] 0 Hits/KSLOC@level+ = [0+] 39.8245 [1+] 21.9419 [2+] 17.6632 [3+] 6.36314 [4+] 5.9243 [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.