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/giza-1.1.0/docs/documentation/gettingstarted.c
Examining data/giza-1.1.0/src/cpgplot.h
Examining data/giza-1.1.0/src/giza-annotate.c
Examining data/giza-1.1.0/src/giza-arrow-style-private.h
Examining data/giza-1.1.0/src/giza-arrow-style.c
Examining data/giza-1.1.0/src/giza-arrow.c
Examining data/giza-1.1.0/src/giza-band-private.h
Examining data/giza-1.1.0/src/giza-band-style.c
Examining data/giza-1.1.0/src/giza-band.c
Examining data/giza-1.1.0/src/giza-box-time.c
Examining data/giza-1.1.0/src/giza-box.c
Examining data/giza-1.1.0/src/giza-buffering.c
Examining data/giza-1.1.0/src/giza-character-size-private.h
Examining data/giza-1.1.0/src/giza-character-size.c
Examining data/giza-1.1.0/src/giza-circle.c
Examining data/giza-1.1.0/src/giza-clipping.c
Examining data/giza-1.1.0/src/giza-colour-bar.c
Examining data/giza-1.1.0/src/giza-colour-index.c
Examining data/giza-1.1.0/src/giza-colour-palette.c
Examining data/giza-1.1.0/src/giza-colour-private.h
Examining data/giza-1.1.0/src/giza-colour-table.c
Examining data/giza-1.1.0/src/giza-contour.c
Examining data/giza-1.1.0/src/giza-cpgplot.c
Examining data/giza-1.1.0/src/giza-cursor-private.h
Examining data/giza-1.1.0/src/giza-cursor-routines.c
Examining data/giza-1.1.0/src/giza-device-has-cursor.c
Examining data/giza-1.1.0/src/giza-draw-background.c
Examining data/giza-1.1.0/src/giza-draw.c
Examining data/giza-1.1.0/src/giza-driver-eps-private.h
Examining data/giza-1.1.0/src/giza-driver-eps.c
Examining data/giza-1.1.0/src/giza-driver-null-private.h
Examining data/giza-1.1.0/src/giza-driver-null.c
Examining data/giza-1.1.0/src/giza-driver-pdf-private.h
Examining data/giza-1.1.0/src/giza-driver-pdf.c
Examining data/giza-1.1.0/src/giza-driver-png-private.h
Examining data/giza-1.1.0/src/giza-driver-png.c
Examining data/giza-1.1.0/src/giza-driver-ps-private.h
Examining data/giza-1.1.0/src/giza-driver-ps.c
Examining data/giza-1.1.0/src/giza-driver-svg-private.h
Examining data/giza-1.1.0/src/giza-driver-svg.c
Examining data/giza-1.1.0/src/giza-driver-xw-private.h
Examining data/giza-1.1.0/src/giza-driver-xw.c
Examining data/giza-1.1.0/src/giza-drivers-private.h
Examining data/giza-1.1.0/src/giza-drivers.c
Examining data/giza-1.1.0/src/giza-environment.c
Examining data/giza-1.1.0/src/giza-error-bars.c
Examining data/giza-1.1.0/src/giza-fill-private.h
Examining data/giza-1.1.0/src/giza-fill.c
Examining data/giza-1.1.0/src/giza-format-number.c
Examining data/giza-1.1.0/src/giza-function-t.c
Examining data/giza-1.1.0/src/giza-function-x.c
Examining data/giza-1.1.0/src/giza-function-y.c
Examining data/giza-1.1.0/src/giza-get-key-press.c
Examining data/giza-1.1.0/src/giza-get-surface-size.c
Examining data/giza-1.1.0/src/giza-hershey-to-utf.h
Examining data/giza-1.1.0/src/giza-histogram.c
Examining data/giza-1.1.0/src/giza-io-private.h
Examining data/giza-1.1.0/src/giza-io.c
Examining data/giza-1.1.0/src/giza-label.c
Examining data/giza-1.1.0/src/giza-line-cap.c
Examining data/giza-1.1.0/src/giza-line-style-private.h
Examining data/giza-1.1.0/src/giza-line-style.c
Examining data/giza-1.1.0/src/giza-line-width.c
Examining data/giza-1.1.0/src/giza-line.c
Examining data/giza-1.1.0/src/giza-move.c
Examining data/giza-1.1.0/src/giza-paper.c
Examining data/giza-1.1.0/src/giza-points.c
Examining data/giza-1.1.0/src/giza-polygon.c
Examining data/giza-1.1.0/src/giza-print-id.c
Examining data/giza-1.1.0/src/giza-private.h
Examining data/giza-1.1.0/src/giza-prompting.c
Examining data/giza-1.1.0/src/giza-ptext.c
Examining data/giza-1.1.0/src/giza-qtext.c
Examining data/giza-1.1.0/src/giza-rectangle.c
Examining data/giza-1.1.0/src/giza-render-private.h
Examining data/giza-1.1.0/src/giza-render.c
Examining data/giza-1.1.0/src/giza-save.c
Examining data/giza-1.1.0/src/giza-set-font-private.h
Examining data/giza-1.1.0/src/giza-set-font.c
Examining data/giza-1.1.0/src/giza-shared.h
Examining data/giza-1.1.0/src/giza-stroke-private.h
Examining data/giza-1.1.0/src/giza-stroke.c
Examining data/giza-1.1.0/src/giza-subpanel-private.h
Examining data/giza-1.1.0/src/giza-subpanel.c
Examining data/giza-1.1.0/src/giza-text-background-private.h
Examining data/giza-1.1.0/src/giza-text-background.c
Examining data/giza-1.1.0/src/giza-text-private.h
Examining data/giza-1.1.0/src/giza-text.c
Examining data/giza-1.1.0/src/giza-token-remapper.h
Examining data/giza-1.1.0/src/giza-transforms-private.h
Examining data/giza-1.1.0/src/giza-transforms.c
Examining data/giza-1.1.0/src/giza-vector.c
Examining data/giza-1.1.0/src/giza-version.c
Examining data/giza-1.1.0/src/giza-viewport-private.h
Examining data/giza-1.1.0/src/giza-viewport.c
Examining data/giza-1.1.0/src/giza-warnings-private.h
Examining data/giza-1.1.0/src/giza-warnings.c
Examining data/giza-1.1.0/src/giza-window-private.h
Examining data/giza-1.1.0/src/giza-window.c
Examining data/giza-1.1.0/src/giza.c
Examining data/giza-1.1.0/src/giza.h
Examining data/giza-1.1.0/src/lex.yy.c
Examining data/giza-1.1.0/test/C/test-XOpenDisplay.c
Examining data/giza-1.1.0/test/C/test-arrow.c
Examining data/giza-1.1.0/test/C/test-band.c
Examining data/giza-1.1.0/test/C/test-box.c
Examining data/giza-1.1.0/test/C/test-cairo-xw.c
Examining data/giza-1.1.0/test/C/test-change-page.c
Examining data/giza-1.1.0/test/C/test-circle.c
Examining data/giza-1.1.0/test/C/test-colour-index.c
Examining data/giza-1.1.0/test/C/test-contour.c
Examining data/giza-1.1.0/test/C/test-environment.c
Examining data/giza-1.1.0/test/C/test-error-bars-2.c
Examining data/giza-1.1.0/test/C/test-error-bars.c
Examining data/giza-1.1.0/test/C/test-format-number.c
Examining data/giza-1.1.0/test/C/test-giza-xw.c
Examining data/giza-1.1.0/test/C/test-line-cap.c
Examining data/giza-1.1.0/test/C/test-line-style.c
Examining data/giza-1.1.0/test/C/test-openclose.c
Examining data/giza-1.1.0/test/C/test-pdf.c
Examining data/giza-1.1.0/test/C/test-png.c
Examining data/giza-1.1.0/test/C/test-points.c
Examining data/giza-1.1.0/test/C/test-qtext.c
Examining data/giza-1.1.0/test/C/test-rectangle.c
Examining data/giza-1.1.0/test/C/test-render.c
Examining data/giza-1.1.0/test/C/test-set-line-width.c
Examining data/giza-1.1.0/test/C/test-svg.c
Examining data/giza-1.1.0/test/C/test-vector.c
Examining data/giza-1.1.0/test/C/test-window.c

FINAL RESULTS:

data/giza-1.1.0/src/giza-box-time.c:763:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(tmp, " -%s", text);
data/giza-1.1.0/src/giza-box-time.c:765:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(tmp, " %s", text);
data/giza-1.1.0/src/giza-box-time.c:1087:17:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        nch   = sprintf(&text[*tlen], fmt, ival[0], suppnt[0], asign);
data/giza-1.1.0/src/giza-box-time.c:1102:17:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        nch   = sprintf(&text[*tlen], do2 ? "%02d%s" : "%d%s", ival[1], suppnt[1]);
data/giza-1.1.0/src/giza-box-time.c:1115:17:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        nch   = sprintf(&text[*tlen], do2 ? "%02d%s" : "%d%s", ival[2], suppnt[2]);
data/giza-1.1.0/src/giza-box-time.c:1136:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(tmp, do2 ? "%02d.\\b%s%d" : "%d.\\b%s%d", (int)isec, suppnt[3], (int)ifrac);
data/giza-1.1.0/src/giza-box-time.c:1139:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(tmp, do2 ? "%02d%s" : "%d%s", (int)rint(rval), suppnt[3]);
data/giza-1.1.0/src/giza-box-time.c:1147:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        nch   = sprintf(&text[*tlen], "%s", tmp);
data/giza-1.1.0/src/giza-cpgplot.c:759:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
         sprintf(giza_version_string, "giza-%s", GIZA_VERSION_STRING);
data/giza-1.1.0/src/giza-driver-png.c:137:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
       sprintf(tmp, "%s created", fileName);
data/giza-1.1.0/src/giza-drivers.c:602:26:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
       strncpy(returnval,getlogin(),max_chars);
data/giza-1.1.0/src/giza-drivers.c:1067:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (filename, "%s%s", prefixtrim, ext);
data/giza-1.1.0/src/giza-drivers.c:1069:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (filename, "%s_%04d%s", prefixtrim, pgNum, ext);
data/giza-1.1.0/src/giza-drivers.c:1074:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (filename, "%s", prefixtrim);
data/giza-1.1.0/src/giza-drivers.c:1082:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (filename, "%s_%04d%s", firstpart, pgNum, ext);
data/giza-1.1.0/src/giza-format-number.c:157:3:  [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 (string, tmp);
data/giza-1.1.0/src/giza-io.c:48:8:  [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, message, arg);
data/giza-1.1.0/src/giza-io.c:74:4:  [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, message, arg);
data/giza-1.1.0/src/giza-io.c:207:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(msg,"writing %s",string);
data/giza-1.1.0/src/giza-print-id.c:49:18:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
  char *userid = getlogin();
data/giza-1.1.0/src/giza-print-id.c:62:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(string, "%s%s",userid,date);
data/giza-1.1.0/src/giza-set-font.c:133: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 (_giza_fontFam, font);
data/giza-1.1.0/src/giza-set-font.c:240:3:  [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 (_giza_fontFam, tmp);
data/giza-1.1.0/src/giza-colour-palette.c:60:16:  [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 *text = getenv ("GIZA_PALETTE");
data/giza-1.1.0/src/giza-set-font.c:233:15:  [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 *tmp = getenv ("GIZA_FONT");
data/giza-1.1.0/src/giza.c:82:16:  [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 *tmp = getenv ("GIZA_LOG");
data/giza-1.1.0/src/giza-box-time.c:59:26:  [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.
void              pgtbx7(char const* suptyp, char signf, char asign, int ival[3], double rval, int writ[4], int sprec, int do2, char* text, int* tlen, int* last);
data/giza-1.1.0/src/giza-box-time.c:59:46:  [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.
void              pgtbx7(char const* suptyp, char signf, char asign, int ival[3], double rval, int writ[4], int sprec, int do2, char* text, int* tlen, int* last);
data/giza-1.1.0/src/giza-box-time.c:59:58:  [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.
void              pgtbx7(char const* suptyp, char signf, char asign, int ival[3], double rval, int writ[4], int sprec, int do2, char* text, int* tlen, int* last);
data/giza-1.1.0/src/giza-box-time.c:177: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             x_repl[3] = {0,}, y_repl[3] = {0,}; /* remember replacements */
data/giza-1.1.0/src/giza-box-time.c:347: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              str[15] = {0,};
data/giza-1.1.0/src/giza-box-time.c:416:17:  [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(str,"60.423");
data/giza-1.1.0/src/giza-box-time.c:419:17:  [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(str,"60.42");
data/giza-1.1.0/src/giza-box-time.c:422:17:  [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(str,"60.4");
data/giza-1.1.0/src/giza-box-time.c:425:17:  [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(str,"60s");
data/giza-1.1.0/src/giza-box-time.c:442:13:  [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(str,"42m");
data/giza-1.1.0/src/giza-box-time.c:454:17:  [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(str,"42h");
data/giza-1.1.0/src/giza-box-time.c:474:16:  [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(str,"345678912");
data/giza-1.1.0/src/giza-box-time.c: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         signf, text[80];
data/giza-1.1.0/src/giza-box-time.c:757:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char  tmp[128];
data/giza-1.1.0/src/giza-box-time.c:1062:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void pgtbx7(char const* suptyp, char signf, char asign, int ival[3], double rval, int writ[4], int sprec, int do2, char* text, int* tlen, int* last) {
data/giza-1.1.0/src/giza-box-time.c:1062:33:  [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.
void pgtbx7(char const* suptyp, char signf, char asign, int ival[3], double rval, int writ[4], int sprec, int do2, char* text, int* tlen, int* last) {
data/giza-1.1.0/src/giza-box-time.c:1062:45:  [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.
void pgtbx7(char const* suptyp, char signf, char asign, int ival[3], double rval, int writ[4], int sprec, int do2, char* text, int* tlen, int* last) {
data/giza-1.1.0/src/giza-box-time.c:1064: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 const* super[3][4] = { "\\ud\\d"       , "\\uh\\d"       , "\\um\\d"       , "\\us\\d",
data/giza-1.1.0/src/giza-box-time.c:1120:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char tmp[32];
data/giza-1.1.0/src/giza-box.c:112: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 tmp[100];
data/giza-1.1.0/src/giza-box.c:367:18:  [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 (tmp, "10");
data/giza-1.1.0/src/giza-box.c:371:18:  [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 (tmp, "10^{%i}", jtmp);
data/giza-1.1.0/src/giza-box.c:516:18:  [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 (tmp, "10");
data/giza-1.1.0/src/giza-box.c:520:18:  [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 (tmp, "10^{%i}", jtmp);
data/giza-1.1.0/src/giza-cpgplot.c:756: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.
      static char   giza_version_string[32] = {'\0',};
data/giza-1.1.0/src/giza-cursor-routines.c:251: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 ch[2] = " ";
data/giza-1.1.0/src/giza-cursor-routines.c:268: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 ch[2] = " ";
data/giza-1.1.0/src/giza-cursor-routines.c:297: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 ch[2] = " ";
data/giza-1.1.0/src/giza-cursor-routines.c:314:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char ch[2] = " ";
data/giza-1.1.0/src/giza-cursor-routines.c:339: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 ch[2] = " ";
data/giza-1.1.0/src/giza-cursor-routines.c:356:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char ch[2] = " ";
data/giza-1.1.0/src/giza-cursor-routines.c:384: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 ch[2] = " ";
data/giza-1.1.0/src/giza-cursor-routines.c:401:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char ch[2] = " ";
data/giza-1.1.0/src/giza-driver-eps.c:58: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 fileName[length + 1];
data/giza-1.1.0/src/giza-driver-eps.c:130: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 fileName[length + 1];
data/giza-1.1.0/src/giza-driver-eps.c:134:6:  [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 fileNameold[length + 1];
data/giza-1.1.0/src/giza-driver-pdf.c:56: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 fileName[length + 1];
data/giza-1.1.0/src/giza-driver-png.c:126: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 fileName[length + 1];
data/giza-1.1.0/src/giza-driver-png.c:136: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.
       char tmp[length + 10];
data/giza-1.1.0/src/giza-driver-ps.c:63: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 fileName[length + 1];
data/giza-1.1.0/src/giza-driver-svg.c:56: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 fileName[length + 1];
data/giza-1.1.0/src/giza-driver-svg.c:125: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 fileName[length + 1];
data/giza-1.1.0/src/giza-driver-svg.c:129:6:  [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 fileNameold[length + 1];
data/giza-1.1.0/src/giza-driver-xw.c:341: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 text[82];
data/giza-1.1.0/src/giza-driver-xw.c:392:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[10];
data/giza-1.1.0/src/giza-drivers.c:567: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      devType[12];
data/giza-1.1.0/src/giza-drivers.c:721: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 devName[nameLength + 1];
data/giza-1.1.0/src/giza-drivers.c:737: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 devName[strlen (newDeviceName) + 1];
data/giza-1.1.0/src/giza-drivers.c:872:3:  [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.
  strcat (*deviceList, "Interactive devices:\n\t/xw\t(X Window)\n");
data/giza-1.1.0/src/giza-drivers.c:874:3:  [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.
  strcat (*deviceList, "Non-interactive file formats:\n");
data/giza-1.1.0/src/giza-drivers.c:875:3:  [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.
  strcat (*deviceList, "\t/png or file.png   (Portable network graphics file)\n");
data/giza-1.1.0/src/giza-drivers.c:876:3:  [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.
  strcat (*deviceList, "\t/svg or file.svg   (Scalable vector graphics file)\n");
data/giza-1.1.0/src/giza-drivers.c:878:3:  [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.
  strcat (*deviceList, "\t/eps or file.eps   (Encapsulated Postscript, one file per page)\n");
data/giza-1.1.0/src/giza-drivers.c:880:3:  [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.
  strcat (*deviceList, "\t/pdf or file.pdf   (Portable document format file)\n");
data/giza-1.1.0/src/giza-drivers.c:881:3:  [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.
  strcat (*deviceList, "\t/vpdf              (Portable document format file portrait)\n");
data/giza-1.1.0/src/giza-drivers.c:882:3:  [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.
  strcat (*deviceList, "\t/ps  or file.ps    (Postscript file, multiple pages per file)\n");
data/giza-1.1.0/src/giza-drivers.c:883:3:  [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.
  strcat (*deviceList, "\t/vps               (Postscript file portrait, multiple pages per file)\n");
data/giza-1.1.0/src/giza-drivers.c:884:3:  [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.
  strcat (*deviceList, "\t/null              (Null device)\n");
data/giza-1.1.0/src/giza-drivers.c:1054: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 lprefix[strlen(prefix) + 1];
data/giza-1.1.0/src/giza-drivers.c:1055: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 lextens[strlen(extension) + 1];
data/giza-1.1.0/src/giza-environment.c:65: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 opts[8], yopts[8];
data/giza-1.1.0/src/giza-environment.c:70:7:  [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 (opts, "BCT");
data/giza-1.1.0/src/giza-environment.c:71:7:  [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 (yopts, "BCT");
data/giza-1.1.0/src/giza-environment.c:74:7:  [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 (opts, "BCST");
data/giza-1.1.0/src/giza-environment.c:75:7:  [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 (yopts, "BCST");
data/giza-1.1.0/src/giza-environment.c:82:7:  [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 (opts, "BC");
data/giza-1.1.0/src/giza-environment.c:83:7:  [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 (yopts,"BC");
data/giza-1.1.0/src/giza-environment.c:86:7:  [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 (opts, "ABCTSN");
data/giza-1.1.0/src/giza-environment.c:87:7:  [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 (yopts,"ABCTSN");
data/giza-1.1.0/src/giza-environment.c:90:7:  [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 (opts, "ABCTSNG");
data/giza-1.1.0/src/giza-environment.c:91:7:  [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 (yopts,"ABCTSNG");
data/giza-1.1.0/src/giza-environment.c:94:7:  [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 (opts, "BCTSNL");
data/giza-1.1.0/src/giza-environment.c:95:7:  [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 (yopts,"BCTSN");
data/giza-1.1.0/src/giza-environment.c:98:7:  [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 (opts, "BCTSN");
data/giza-1.1.0/src/giza-environment.c:99:7:  [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 (yopts,"BCTSNL");
data/giza-1.1.0/src/giza-environment.c:102:7:  [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 (opts, "BCTSNL");
data/giza-1.1.0/src/giza-environment.c:103:7:  [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 (yopts,"BCTSNL");
data/giza-1.1.0/src/giza-environment.c:108:7:  [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 (opts, "BCTSN");
data/giza-1.1.0/src/giza-environment.c:109:7:  [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 (yopts,"BCTSN");
data/giza-1.1.0/src/giza-format-number.c:55: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 tmp[100];
data/giza-1.1.0/src/giza-format-number.c:69:3:  [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 (tmp, "%i", mantissa);
data/giza-1.1.0/src/giza-format-number.c:147: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 (&tmp[numDigits], "\\times10^{%i}", power);
data/giza-1.1.0/src/giza-io.c:85: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 input[GIZA_MAX_DEVSTRING + 5]; /* allow enough for prefix + 5 char extension */
data/giza-1.1.0/src/giza-io.c:165: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 input[2];
data/giza-1.1.0/src/giza-io.c:204:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char msg[80];
data/giza-1.1.0/src/giza-io.c:205:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char string[80];
data/giza-1.1.0/src/giza-points.c:705: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 str[4];
data/giza-1.1.0/src/giza-print-id.c:59: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 date[20];
data/giza-1.1.0/src/giza-private.h:75: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 prefix[GIZA_MAX_DEVSTRING];
data/giza-1.1.0/src/giza-ptext.c:62: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 giza_font[len];
data/giza-1.1.0/src/giza-qtext.c:48:66:  [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.
giza_qtext (double x, double y, double angle, double just, const char *text, double xbox[4], double ybox[4])
data/giza-1.1.0/src/giza-qtext.c:63: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 giza_font[len];
data/giza-1.1.0/src/giza-qtext.c:117:68:  [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.
giza_qtext_float (float x, float y, float angle, float just, const char *text, float xbox[4], float ybox[4])
data/giza-1.1.0/src/giza-qtext.c:164: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 giza_font[len];
data/giza-1.1.0/src/giza-save.c:47: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 font[GIZA_FONT_LEN];
data/giza-1.1.0/src/giza-text.c:150: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 giza_font[len];
data/giza-1.1.0/src/giza.h:270:71:  [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.
void giza_qtext (double x, double y, double angle, double just, const char *text,
data/giza-1.1.0/src/giza.h:272:73:  [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.
void giza_qtext_float (float x, float y, float angle, float just, const char *text,
data/giza-1.1.0/src/lex.yy.c:948: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).
{ if( _giza_lookup_hershey(atoi(yytext)) ) { BEGIN(INITIAL); return GIZA_TOKEN_HERSHEY; } REJECT; }
data/giza-1.1.0/src/lex.yy.c:964:22:  [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).
{ const int marker = atoi(yytext); if( marker>=1 && marker<=31 ) { BEGIN(INITIAL); return GIZA_TOKEN_MARKER; } REJECT; }
data/giza-1.1.0/src/lex.yy.c:2208: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    font[GIZA_FONT_LEN];
data/giza-1.1.0/src/lex.yy.c:2316:48:  [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).
                  action( _giza_lookup_hershey(atoi(token_txt))->utf, width, height );
data/giza-1.1.0/src/lex.yy.c:2431:38:  [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).
                  int const number = atoi( token_txt );
data/giza-1.1.0/test/C/test-circle.c:47: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 tmp[100];
data/giza-1.1.0/test/C/test-circle.c:52:3:  [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 (tmp, "centre (%.2f, %.2f), radius: %.2f, fill: %i", x, y, r, fill);
data/giza-1.1.0/test/C/test-error-bars-2.c:32:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char title [10];
data/giza-1.1.0/test/C/test-error-bars-2.c:43: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.
	(void) sprintf (title, "dir = %d", dir);
data/giza-1.1.0/test/C/test-format-number.c:34: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   string[40];
data/giza-1.1.0/test/C/test-points.c:63: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 str[100];
data/giza-1.1.0/test/C/test-points.c:74:3:  [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 (str, "Symbol: %i, Character height: %f", symbol, ch);
data/giza-1.1.0/test/C/test-qtext.c:39: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 text[100];
data/giza-1.1.0/test/C/test-qtext.c:93:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy (text, "HELLO^2!");
data/giza-1.1.0/test/C/test-rectangle.c:47: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 tmp[100];
data/giza-1.1.0/test/C/test-rectangle.c:52:3:  [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 (tmp, "(x1, y1) = (%.2f, %.2f), (x2, y2) = (%.2f, %.2f), fill: %i", x1, y1, x2, y2, fill);
data/giza-1.1.0/test/C/test-set-line-width.c:104: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 str[100];
data/giza-1.1.0/test/C/test-set-line-width.c:127:3:  [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 (str, "line width: %.2f", lw);
data/giza-1.1.0/src/giza-box.c:369:18:  [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 (tmp, "1");
data/giza-1.1.0/src/giza-box.c:518:18:  [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 (tmp, "1");
data/giza-1.1.0/src/giza-cpgplot.c:507:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  *string_length = strlen(string);
data/giza-1.1.0/src/giza-cpgplot.c:764:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(value, giza_version_string, last_char);
data/giza-1.1.0/src/giza-cpgplot.c:786: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).
  *value_length    = strlen(value);
data/giza-1.1.0/src/giza-driver-eps.c:57: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).
  length = strlen (Dev[id].prefix) + strlen (GIZA_DEVICE_EXTENSION) + 5;
data/giza-1.1.0/src/giza-driver-eps.c:57:38:  [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).
  length = strlen (Dev[id].prefix) + strlen (GIZA_DEVICE_EXTENSION) + 5;
data/giza-1.1.0/src/giza-driver-eps.c:128: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).
  int lenext = strlen (GIZA_DEVICE_EXTENSION);
data/giza-1.1.0/src/giza-driver-eps.c:129: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).
  int length = strlen (Dev[id].prefix) + lenext + 5;
data/giza-1.1.0/src/giza-driver-pdf.c:54: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).
  int lenext = strlen (GIZA_DEVICE_EXTENSION);
data/giza-1.1.0/src/giza-driver-pdf.c:55: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).
  int length = strlen (Dev[id].prefix) + lenext;
data/giza-1.1.0/src/giza-driver-png.c:124: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).
  int lenext = strlen (GIZA_DEVICE_EXTENSION);
data/giza-1.1.0/src/giza-driver-png.c:125: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).
  int length = strlen (Dev[id].prefix) + lenext + 5;
data/giza-1.1.0/src/giza-driver-ps.c:61: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).
  int lenext = strlen(GIZA_DEVICE_EXTENSION);
data/giza-1.1.0/src/giza-driver-ps.c:62: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).
  int length = strlen (Dev[id].prefix) + lenext;
data/giza-1.1.0/src/giza-driver-svg.c:54: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).
  int lenext = strlen (GIZA_DEVICE_EXTENSION);
data/giza-1.1.0/src/giza-driver-svg.c:55: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).
  int length = strlen (Dev[id].prefix) + lenext + 5;
data/giza-1.1.0/src/giza-driver-svg.c:123: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).
  int lenext = strlen (GIZA_DEVICE_EXTENSION);
data/giza-1.1.0/src/giza-driver-svg.c:124: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).
  int length = strlen (Dev[id].prefix) + lenext + 5;
data/giza-1.1.0/src/giza-drivers.c:587:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(returnval, Dev[id].isInteractive ? "YES" : "NO", max_chars);
data/giza-1.1.0/src/giza-drivers.c:592:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(returnval, Dev[id].isInteractive ? "NO" : "YES", max_chars);
data/giza-1.1.0/src/giza-drivers.c:597:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(returnval, Dev[id].deviceOpen ? "OPEN" : "CLOSED", max_chars);
data/giza-1.1.0/src/giza-drivers.c:602:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
       strncpy(returnval,getlogin(),max_chars);
data/giza-1.1.0/src/giza-drivers.c:607:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
       strncpy(returnval,Dev[id].prefix,max_chars);
data/giza-1.1.0/src/giza-drivers.c:612:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
       strncpy(returnval,Dev[id].prefix,max_chars);
data/giza-1.1.0/src/giza-drivers.c:616:12:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
           strncat(returnval,devType,4*sizeof(char));
data/giza-1.1.0/src/giza-drivers.c:624:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
           strncpy(returnval,Dev[id].prefix,max_chars);
data/giza-1.1.0/src/giza-drivers.c:628:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant character.
           strncpy(returnval, " ", max_chars);
data/giza-1.1.0/src/giza-drivers.c:715:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int lendev  = strlen(deviceString);  /* long-winded to avoid */
data/giza-1.1.0/src/giza-drivers.c:716:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int lentype = strlen(*devType);      /* icc compile warnings */
data/giza-1.1.0/src/giza-drivers.c:722:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (devName, deviceString, (size_t) nameLength);
data/giza-1.1.0/src/giza-drivers.c:737: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).
  char devName[strlen (newDeviceName) + 1];
data/giza-1.1.0/src/giza-drivers.c:740: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).
  for (i = 0; i < (signed ) strlen (newDeviceName); ++i)
data/giza-1.1.0/src/giza-drivers.c:812:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(DeviceName,"/null",max_chars);
data/giza-1.1.0/src/giza-drivers.c:815:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(DeviceName,"/pdf",max_chars);
data/giza-1.1.0/src/giza-drivers.c:818:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(DeviceName,"/vpdf",max_chars);
data/giza-1.1.0/src/giza-drivers.c:821:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(DeviceName,"/png",max_chars);
data/giza-1.1.0/src/giza-drivers.c:824:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(DeviceName,"/svg",max_chars);
data/giza-1.1.0/src/giza-drivers.c:827:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(DeviceName,"/ps",max_chars);
data/giza-1.1.0/src/giza-drivers.c:830:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(DeviceName,"/vps",max_chars);
data/giza-1.1.0/src/giza-drivers.c:834:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(DeviceName,"/xw",max_chars);
data/giza-1.1.0/src/giza-drivers.c:839:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(DeviceName,"/eps",max_chars);
data/giza-1.1.0/src/giza-drivers.c:845:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant character.
      strncpy(DeviceName," ",max_chars);
data/giza-1.1.0/src/giza-drivers.c:977:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(prefix) > sizeof(Dev[id].prefix))
data/giza-1.1.0/src/giza-drivers.c:981:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (Dev[id].prefix, prefix, sizeof(Dev[id].prefix));
data/giza-1.1.0/src/giza-drivers.c:1035:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   int len = strlen(str);
data/giza-1.1.0/src/giza-drivers.c:1054: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).
  char lprefix[strlen(prefix) + 1];
data/giza-1.1.0/src/giza-drivers.c:1055: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).
  char lextens[strlen(extension) + 1];
data/giza-1.1.0/src/giza-environment.c:78:7:  [1] (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 character.
      strcpy (opts, "");
data/giza-1.1.0/src/giza-environment.c:79:7:  [1] (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 character.
      strcpy (yopts,"");
data/giza-1.1.0/src/giza-format-number.c:60:7:  [1] (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 character.
      strcpy (string, "0");
data/giza-1.1.0/src/giza-format-number.c:70: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).
  numDigits = strlen (tmp);
data/giza-1.1.0/src/giza-io.c:101:25:  [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).
          size_t last = strlen(input) - 1;
data/giza-1.1.0/src/giza-print-id.c:61:25:  [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 *string = malloc(strlen(userid) + strlen(date) + 1);
data/giza-1.1.0/src/giza-print-id.c:61:42:  [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 *string = malloc(strlen(userid) + strlen(date) + 1);
data/giza-1.1.0/src/giza-set-font.c:132:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   _giza_fontFam = realloc (_giza_fontFam, (strlen (font) + 1) * sizeof (char));
data/giza-1.1.0/src/giza-set-font.c:220:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (font, _giza_fontFam, n - 1);
data/giza-1.1.0/src/giza-set-font.c:239:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  _giza_fontFam = malloc ((strlen (tmp) + 1) * sizeof (char));
data/giza-1.1.0/src/giza-text.c:36:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(text) <= 0) return;
data/giza-1.1.0/src/giza-text.c:50:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(text) > 0) {
data/giza-1.1.0/src/lex.yy.c:731:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			     (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
data/giza-1.1.0/src/lex.yy.c:1776: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).
	return yy_scan_bytes( yystr, (int) strlen(yystr) , yyscanner);
data/giza-1.1.0/src/lex.yy.c:2233: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).
  const int            lenstr = strlen(text);

ANALYSIS SUMMARY:

Hits = 205
Lines analyzed = 24057 in approximately 0.73 seconds (32863 lines/second)
Physical Source Lines of Code (SLOC) = 13990
Hits@level = [0]  57 [1]  63 [2] 116 [3]   3 [4]  23 [5]   0
Hits@level+ = [0+] 262 [1+] 205 [2+] 142 [3+]  26 [4+]  23 [5+]   0
Hits/KSLOC@level+ = [0+] 18.7277 [1+] 14.6533 [2+] 10.1501 [3+] 1.85847 [4+] 1.64403 [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.