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/gifsicle-1.92/include/lcdf/clp.h Examining data/gifsicle-1.92/include/lcdf/inttypes.h Examining data/gifsicle-1.92/include/lcdfgif/gif.h Examining data/gifsicle-1.92/include/lcdfgif/gifx.h Examining data/gifsicle-1.92/src/clp.c Examining data/gifsicle-1.92/src/fmalloc.c Examining data/gifsicle-1.92/src/gifdiff.c Examining data/gifsicle-1.92/src/giffunc.c Examining data/gifsicle-1.92/src/gifread.c Examining data/gifsicle-1.92/src/gifsicle.c Examining data/gifsicle-1.92/src/gifsicle.h Examining data/gifsicle-1.92/src/giftoc.c Examining data/gifsicle-1.92/src/gifunopt.c Examining data/gifsicle-1.92/src/gifview.c Examining data/gifsicle-1.92/src/gifwrite.c Examining data/gifsicle-1.92/src/gifx.c Examining data/gifsicle-1.92/src/kcolor.h Examining data/gifsicle-1.92/src/merge.c Examining data/gifsicle-1.92/src/optimize.c Examining data/gifsicle-1.92/src/opttemplate.c Examining data/gifsicle-1.92/src/quantize.c Examining data/gifsicle-1.92/src/strerror.c Examining data/gifsicle-1.92/src/support.c Examining data/gifsicle-1.92/src/ungifwrt.c Examining data/gifsicle-1.92/src/win32cfg.h Examining data/gifsicle-1.92/src/xform.c FINAL RESULTS: data/gifsicle-1.92/src/gifdiff.c:197:5: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(stdout, format, val); data/gifsicle-1.92/src/gifdiff.c:489: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(last_message, message); data/gifsicle-1.92/src/giffunc.c:833:5: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(stderr, x, val); data/gifsicle-1.92/src/gifread.c:373:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buf, "missing %ld %s of image data", delta, data/gifsicle-1.92/src/gifsicle.c:644: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(sf->name, name); data/gifsicle-1.92/src/gifsicle.c:715:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(component_namebuf, "%s~%d", main_name, componentno); data/gifsicle-1.92/src/giftoc.c:156:2: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(ndirectory, "%s%c", directory, PATHNAME_SEPARATOR); data/gifsicle-1.92/src/giftoc.c:181: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(file_name, directory); data/gifsicle-1.92/src/giftoc.c:182: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(file_name, argv[0]); data/gifsicle-1.92/src/gifview.c:838: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(strs[0], viewer->title); data/gifsicle-1.92/src/gifview.c:840:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(strs[0], "gifview: %s [#%d]", viewer->name, im_pos); data/gifsicle-1.92/src/gifview.c:842:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(strs[0], "gifview: %s #%s", viewer->name, identifier); data/gifsicle-1.92/src/gifview.c:844:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(strs[0], "gifview: %s", viewer->name); data/gifsicle-1.92/src/gifview.c:846:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(strs[0], "gifview: %s #%d", viewer->name, im_pos); data/gifsicle-1.92/src/gifview.c:848:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(strs[0], "gifview: %s #%d #%s", viewer->name, im_pos, identifier); data/gifsicle-1.92/src/quantize.c:877:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf((aindex == 0 ? " | <%d,_,_>\n" : data/gifsicle-1.92/src/support.c:49:5: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf(pbuf, sizeof(pbuf), xfmt, program_name, landmark, *landmark ? ":" : ""); data/gifsicle-1.92/src/support.c:523:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(s, "%s.%s", filename, name); data/gifsicle-1.92/src/support.c:525:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(s, "%s.%03d", filename, number); data/gifsicle-1.92/src/support.c:532:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(s, "%s.%0*d", filename, digits, number); data/gifsicle-1.92/src/win32cfg.h:164:9: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. #define popen _popen data/gifsicle-1.92/src/win32cfg.h:196:11: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. # define snprintf _snprintf data/gifsicle-1.92/src/win32cfg.h:196:20: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. # define snprintf _snprintf data/gifsicle-1.92/src/xform.c:171:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(new_command, "%s >%s", command, tmp_file); data/gifsicle-1.92/src/xform.c:172:7: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. f = popen(new_command, "w"); data/gifsicle-1.92/src/clp.c:540:12: [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. char *s = getenv("LANG"); data/gifsicle-1.92/src/gifview.c:887:17: [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. killidx = random() % viewer->n_unoptimized_frames; data/gifsicle-1.92/src/xform.c:154:20: [3] (tmpfile) tmpnam: Temporary file race condition (CWE-377). char *tmp_file = tmpnam(0); data/gifsicle-1.92/include/lcdf/clp.h:199: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 cs[Clp_ValSize]; data/gifsicle-1.92/include/lcdf/clp.h:200: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. unsigned char ucs[Clp_ValSize]; data/gifsicle-1.92/src/clp.c:202: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 option_chars[Clp_OptionCharsSize]; data/gifsicle-1.92/src/clp.c:226: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 option_chars[Clp_OptionCharsSize]; data/gifsicle-1.92/src/clp.c:1154: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 lcarg[6]; data/gifsicle-1.92/src/clp.c:1493: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(state->option_chars, cli->option_chars, Clp_OptionCharsSize); data/gifsicle-1.92/src/clp.c:1526: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(cli->option_chars, state->option_chars, Clp_OptionCharsSize); data/gifsicle-1.92/src/clp.c:1548: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(cli->option_chars, text, n_option_chars); data/gifsicle-1.92/src/clp.c:2013: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 buf[256]; data/gifsicle-1.92/src/clp.c:2039: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(bs->data, bs->buf, bs->pos - bs->buf); data/gifsicle-1.92/src/clp.c:2062: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(bs->pos, s, l); data/gifsicle-1.92/src/clp.c:2119:7: [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(bs->pos, "\\%03o", c & 0xFF); data/gifsicle-1.92/src/clp.c:2131: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(bs->pos, "%d", d); data/gifsicle-1.92/src/clp.c:2353: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(str, bs.data, bs.pos - bs.data); data/gifsicle-1.92/src/clp.c:2356: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(str, bs.data, size - 1); data/gifsicle-1.92/src/clp.c:2415: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(buf + bufpos, what, l); data/gifsicle-1.92/src/clp.c:2472:12: [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 buf[256]; data/gifsicle-1.92/src/gifdiff.c:89: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(dst, src, sizeof(uint16_t) * w); data/gifsicle-1.92/src/gifdiff.c:156: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(line, outd, (rt - lf) * sizeof(uint16_t)); data/gifsicle-1.92/src/gifdiff.c:158: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(outd + pgfi->left - lf, data/gifsicle-1.92/src/gifdiff.c:209: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(buf, "none"); data/gifsicle-1.92/src/gifdiff.c:211: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(buf, "forever"); data/gifsicle-1.92/src/gifdiff.c:213: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(buf, "%d", loopcount); data/gifsicle-1.92/src/gifdiff.c:220: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(buf, "none"); data/gifsicle-1.92/src/gifdiff.c:222: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(buf, "%d.%02ds", delay / 100, delay % 100); data/gifsicle-1.92/src/gifdiff.c:229: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(buf, "transparent"); data/gifsicle-1.92/src/gifdiff.c:232: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(buf, "#%02X%02X%02X", c->gfc_red, c->gfc_green, c->gfc_blue); data/gifsicle-1.92/src/gifdiff.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 buf1[256], buf2[256], fbuf[256]; data/gifsicle-1.92/src/gifdiff.c:325:7: [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(fbuf, "#%d", imageno1); data/gifsicle-1.92/src/gifdiff.c:327:7: [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(fbuf, "<#%d >#%d", imageno1, imageno2); data/gifsicle-1.92/src/gifdiff.c:429: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 buf[BUFSIZ]; data/gifsicle-1.92/src/gifdiff.c:440: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 buf[BUFSIZ]; data/gifsicle-1.92/src/gifdiff.c:457:10: [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 last_message[256]; data/gifsicle-1.92/src/gifdiff.c:527:13: [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(*filename, "rb"); data/gifsicle-1.92/src/giffunc.c:138: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(gfex->appname, appname, applength); data/gifsicle-1.92/src/giffunc.c:169: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(dst->data, src->data, src->length); data/gifsicle-1.92/src/giffunc.c:189: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, s, l + 1); data/gifsicle-1.92/src/giffunc.c:267: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(new_x, x, xlen); data/gifsicle-1.92/src/giffunc.c:384: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(dest->col, src->col, sizeof(src->col[0]) * src->ncol); data/gifsicle-1.92/src/giffunc.c:446:7: [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, src->img[i], dest->width); data/gifsicle-1.92/src/giffunc.c:458:7: [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(dest->compressed, src->compressed, src->compressed_len); data/gifsicle-1.92/src/gifread.c:123: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(p, &grr->v[grr->pos], ncopy); data/gifsicle-1.92/src/gifread.c:371:7: [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[BUFSIZ]; data/gifsicle-1.92/src/gifread.c:380:11: [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(buf, "%ld superfluous pixels of image data", -delta); data/gifsicle-1.92/src/gifread.c:460:7: [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(gfi->compressed, &grr->v[image_pos], gfi->compressed_len); data/gifsicle-1.92/src/gifread.c:873:10: [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[256]; data/gifsicle-1.92/src/gifread.c:874:10: [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(buf, "unknown block type %d at file offset %u", block, grr->pos - 1); data/gifsicle-1.92/src/gifsicle.c:531:10: [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 last_landmark[256]; data/gifsicle-1.92/src/gifsicle.c:532:10: [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 last_message[256]; data/gifsicle-1.92/src/gifsicle.c:535: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 landmark[256]; data/gifsicle-1.92/src/gifsicle.c:604: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 name[1]; data/gifsicle-1.92/src/gifsicle.c:637:7: [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/gifsicle-1.92/src/gifsicle.c:965: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(output_name, "wb"); data/gifsicle-1.92/src/gifsicle.c:1059: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(outfile, "w"); data/gifsicle-1.92/src/giftoc.c:179:24: [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 *file_name = (char *)fmalloc(strlen(argv[0]) + strlen(directory) + 1); data/gifsicle-1.92/src/giftoc.c:183: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(file_name, "rb"); data/gifsicle-1.92/src/gifunopt.c:132: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(new_screen, screen, size * sizeof(uint16_t)); data/gifsicle-1.92/src/gifview.c:217: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 buf[BUFSIZ]; data/gifsicle-1.92/src/gifview.c: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 buf[BUFSIZ]; data/gifsicle-1.92/src/gifview.c:238: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 buf[BUFSIZ]; data/gifsicle-1.92/src/gifview.c:545: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/gifsicle-1.92/src/gifview.c:721: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 *stringlist[2]; data/gifsicle-1.92/src/gifview.c:821: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 *strs[2]; data/gifsicle-1.92/src/gifview.c:1088: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 buf[32]; data/gifsicle-1.92/src/gifwrite.c:135: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(grr->v + grr->pos, data, len); data/gifsicle-1.92/src/gifwrite.c:470:7: [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(nbuf, buf, bufcap >> 3); data/gifsicle-1.92/src/gifx.c:247:7: [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(pixels + npixels, gfxc->pixels, gfxc->npixels); data/gifsicle-1.92/src/merge.c:366: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(desti->compressed, srci->compressed, srci->compressed_len); data/gifsicle-1.92/src/merge.c:373: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(desti->img[j], srci->img[j], desti->width); data/gifsicle-1.92/src/opttemplate.c: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(dst, src, sizeof(palindex_type) * ob.width); data/gifsicle-1.92/src/opttemplate.c:186: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(into_data, previous_data, sizeof(palindex_type) * screen_size); data/gifsicle-1.92/src/opttemplate.c:188: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(into_data, from_data, sizeof(palindex_type) * screen_size); data/gifsicle-1.92/src/opttemplate.c:490:7: [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(previous_data, X(this_data), data/gifsicle-1.92/src/opttemplate.c:550:19: [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(X(last_data), previous_data, sizeof(palindex_type) * screen_size); data/gifsicle-1.92/src/opttemplate.c:804:21: [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(t2_data + (last_for_t2 - gfi->image_data), data/gifsicle-1.92/src/opttemplate.c:827: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(t2_data + (last_for_t2 - gfi->image_data), data/gifsicle-1.92/src/quantize.c:104:12: [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 buf[4][32]; data/gifsicle-1.92/src/quantize.c:108: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(buf[whichbuf], "#%02X%02X%02X", data/gifsicle-1.92/src/quantize.c:111: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(buf[whichbuf], "<%d,%d,%d>", x.a[0], x.a[1], x.a[2]); data/gifsicle-1.92/src/quantize.c:850: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 x[6][10]; data/gifsicle-1.92/src/quantize.c:855:13: [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(x[2*i], "%d", a[i]); data/gifsicle-1.92/src/quantize.c:859:13: [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(x[2*i+1], "%d", b[i]); data/gifsicle-1.92/src/quantize.c:879: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(x, b, sizeof(int) * 3); data/gifsicle-1.92/src/quantize.c:882: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(x, a, sizeof(int) * 3); data/gifsicle-1.92/src/quantize.c:1575: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(x, new_col, sizeof(Gif_Color) * new_ncol); data/gifsicle-1.92/src/quantize.c:1936: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 buf[256]; data/gifsicle-1.92/src/quantize.c:1940: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(buf, name, comma - name); data/gifsicle-1.92/src/quantize.c:2000: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(dd, od->dither_data, 4 + size); data/gifsicle-1.92/src/support.c:29: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 pbuf[256], buf[BUFSIZ], xbuf[BUFSIZ]; data/gifsicle-1.92/src/support.c:248:19: [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). verbose_open(char open, const char *name) data/gifsicle-1.92/src/support.c:259:9: [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). fputc(open, stderr); data/gifsicle-1.92/src/support.c:290:12: [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 buf[4][8]; data/gifsicle-1.92/src/support.c:292: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(buf[whichbuf], "#%02X%02X%02X", data/gifsicle-1.92/src/support.c:872: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 buf[BUFSIZ]; data/gifsicle-1.92/src/support.c:956:11: [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/gifsicle-1.92/src/ungifwrt.c:91: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(grr->v + grr->pos, data, len); data/gifsicle-1.92/src/ungifwrt.c:215:7: [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(nbuf, buf, bufcap >> 3); data/gifsicle-1.92/src/xform.c:161:9: [2] (tmpfile) mkstemp: Potential for temporary file vulnerability in some circumstances. Some older Unix-like systems create temp files with permission to write by all by default, so be sure to set the umask to override this. Also, some older Unix systems might fail to use O_EXCL when opening the file, so make sure that O_EXCL is used by the library (CWE-377). if (mkstemp(tmp_file) < 0) data/gifsicle-1.92/src/xform.c:190:7: [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(tmp_file, "r"); data/gifsicle-1.92/src/xform.c:296:7: [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(buffer, img[y], width); data/gifsicle-1.92/src/xform.c:310: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(buffer, img, height * sizeof(uint8_t *)); data/gifsicle-1.92/src/xform.c:422: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(&kcs->scratch[y * kcs->width + gfi->left], data/gifsicle-1.92/src/xform.c:446: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(&kcs->data[y * kcs->width + gfi->left], data/gifsicle-1.92/src/xform.c:508: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(&kss->scratch[y * kss->width + gfi->left], data/gifsicle-1.92/src/xform.c:530: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(&kss->data[y * kss->width + gfi->left], data/gifsicle-1.92/src/clp.c:447:49: [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). && (!io1->iprefmatch || strncmp(name1, name2, strlen(name1)))) data/gifsicle-1.92/src/clp.c:450:49: [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). && (!io1->iprefmatch || strncmp(name1, name2, strlen(name1)))) data/gifsicle-1.92/src/clp.c:1156:9: [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(arg) > 5 || strchr(arg, '=') != 0) data/gifsicle-1.92/src/clp.c:2060: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). l = strlen(s); data/gifsicle-1.92/src/clp.c:2412: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 l = strlen(what); data/gifsicle-1.92/src/giffunc.c:185: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). l = strlen(s); data/gifsicle-1.92/src/giffunc.c:250: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). xlen = strlen(x); data/gifsicle-1.92/src/giffunc.c:263: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). xlen = strlen(x); data/gifsicle-1.92/src/gifread.c:79:13: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int i = getc(grr->f); data/gifsicle-1.92/src/gifread.c:100:11: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int c = getc(grr->f); data/gifsicle-1.92/src/gifsicle.c:574:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(last_message, message, sizeof(last_message)); data/gifsicle-1.92/src/gifsicle.c:576:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(last_landmark, landmark, sizeof(last_landmark)); data/gifsicle-1.92/src/gifsicle.c:640:67: [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). sf = (struct StoredFile *) malloc(sizeof(struct StoredFile) + strlen(name)); data/gifsicle-1.92/src/gifsicle.c:657:13: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int c = getc(f); data/gifsicle-1.92/src/gifsicle.c:714:40: [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). component_namebuf = (char*) malloc(strlen(main_name) + 10); data/gifsicle-1.92/src/gifsicle.c:721:7: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). i = getc(f); data/gifsicle-1.92/src/gifsicle.c:1202: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). gfex->length = strlen(extension_body); data/gifsicle-1.92/src/giftoc.c:37:7: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(f); data/gifsicle-1.92/src/giftoc.c:100:9: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(f); data/gifsicle-1.92/src/giftoc.c:115:7: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(f); data/gifsicle-1.92/src/giftoc.c:120:9: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(f); data/gifsicle-1.92/src/giftoc.c:153:22: [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 (directory[ strlen(directory) - 1 ] != PATHNAME_SEPARATOR data/gifsicle-1.92/src/giftoc.c:155:37: [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). char *ndirectory = (char *)fmalloc(strlen(directory) + 2); data/gifsicle-1.92/src/giftoc.c:179:39: [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). char *file_name = (char *)fmalloc(strlen(argv[0]) + strlen(directory) + 1); data/gifsicle-1.92/src/giftoc.c:179:57: [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). char *file_name = (char *)fmalloc(strlen(argv[0]) + strlen(directory) + 1); data/gifsicle-1.92/src/giftoc.c:194: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). sout = rec_name = (char *)fmalloc(strlen(sin) + 2); data/gifsicle-1.92/src/gifview.c:831:9: [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(viewer->title) + strlen(viewer->name) + 14; data/gifsicle-1.92/src/gifview.c:831: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). len = strlen(viewer->title) + strlen(viewer->name) + 14; data/gifsicle-1.92/src/gifview.c:834: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). len += 2 + strlen(identifier); data/gifsicle-1.92/src/gifwrite.c:971: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). blast_data((uint8_t *)id, strlen(id), grr); data/gifsicle-1.92/src/quantize.c:853:13: [1] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source is a constant character. sprintf(x[2*i], "*"); data/gifsicle-1.92/src/quantize.c:857:13: [1] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source is a constant character. sprintf(x[2*i+1], "*"); data/gifsicle-1.92/src/support.c:50:9: [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). p = strlen(pbuf); data/gifsicle-1.92/src/support.c:53:9: [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). n = strlen(buf); data/gifsicle-1.92/src/support.c:250: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). int l = strlen(name); data/gifsicle-1.92/src/support.c:517: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). int l = strlen(filename); data/gifsicle-1.92/src/support.c:518: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). l += name ? strlen(name) : 10; data/gifsicle-1.92/src/support.c:788: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). int len = strlen(++arg); data/gifsicle-1.92/src/support.c:921:16: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). for (c = getc(f); c != '\n' && c != EOF; c = getc(f)) data/gifsicle-1.92/src/support.c:921:52: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). for (c = getc(f); c != '\n' && c != EOF; c = getc(f)) data/gifsicle-1.92/src/support.c:966:7: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(f); data/gifsicle-1.92/src/ungifwrt.c:670: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). blast_data((uint8_t *)id, strlen(id), grr); data/gifsicle-1.92/src/xform.c:160:23: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). mode_t old_mode = umask(077); data/gifsicle-1.92/src/xform.c:163:5: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). umask(old_mode); data/gifsicle-1.92/src/xform.c:170: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). new_command = Gif_NewArray(char, strlen(command) + strlen(tmp_file) + 4); data/gifsicle-1.92/src/xform.c:170: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). new_command = Gif_NewArray(char, strlen(command) + strlen(tmp_file) + 4); ANALYSIS SUMMARY: Hits = 179 Lines analyzed = 20531 in approximately 0.58 seconds (35352 lines/second) Physical Source Lines of Code (SLOC) = 15196 Hits@level = [0] 91 [1] 46 [2] 105 [3] 3 [4] 25 [5] 0 Hits@level+ = [0+] 270 [1+] 179 [2+] 133 [3+] 28 [4+] 25 [5+] 0 Hits/KSLOC@level+ = [0+] 17.7678 [1+] 11.7794 [2+] 8.7523 [3+] 1.84259 [4+] 1.64517 [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.