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/hello-2.10/build-aux/snippet/arg-nonnull.h
Examining data/hello-2.10/build-aux/snippet/warn-on-use.h
Examining data/hello-2.10/build-aux/snippet/_Noreturn.h
Examining data/hello-2.10/build-aux/snippet/c++defs.h
Examining data/hello-2.10/lib/basename-lgpl.c
Examining data/hello-2.10/lib/stdlib.in.h
Examining data/hello-2.10/lib/c-strncasecmp.c
Examining data/hello-2.10/lib/sys_types.in.h
Examining data/hello-2.10/lib/c-strcase.h
Examining data/hello-2.10/lib/stdbool.in.h
Examining data/hello-2.10/lib/localcharset.c
Examining data/hello-2.10/lib/exitfail.c
Examining data/hello-2.10/lib/mbsinit.c
Examining data/hello-2.10/lib/xstrndup.h
Examining data/hello-2.10/lib/msvc-nothrow.c
Examining data/hello-2.10/lib/stddef.in.h
Examining data/hello-2.10/lib/c-ctype.h
Examining data/hello-2.10/lib/close-stream.h
Examining data/hello-2.10/lib/dirname-lgpl.c
Examining data/hello-2.10/lib/verify.h
Examining data/hello-2.10/lib/progname.h
Examining data/hello-2.10/lib/basename.c
Examining data/hello-2.10/lib/unistd.c
Examining data/hello-2.10/lib/fpending.h
Examining data/hello-2.10/lib/strnlen1.h
Examining data/hello-2.10/lib/getopt.c
Examining data/hello-2.10/lib/mbsrtowcs.c
Examining data/hello-2.10/lib/c-ctype.c
Examining data/hello-2.10/lib/localcharset.h
Examining data/hello-2.10/lib/xalloc.h
Examining data/hello-2.10/lib/close-stream.c
Examining data/hello-2.10/lib/wctype-h.c
Examining data/hello-2.10/lib/closeout.h
Examining data/hello-2.10/lib/dirname.h
Examining data/hello-2.10/lib/wctype.in.h
Examining data/hello-2.10/lib/strndup.c
Examining data/hello-2.10/lib/xstrndup.c
Examining data/hello-2.10/lib/quotearg.c
Examining data/hello-2.10/lib/xalloc-oversized.h
Examining data/hello-2.10/lib/mbsrtowcs-state.c
Examining data/hello-2.10/lib/exitfail.h
Examining data/hello-2.10/lib/errno.in.h
Examining data/hello-2.10/lib/strerror.c
Examining data/hello-2.10/lib/error.c
Examining data/hello-2.10/lib/xalloc-die.c
Examining data/hello-2.10/lib/getopt1.c
Examining data/hello-2.10/lib/getopt_int.h
Examining data/hello-2.10/lib/strnlen.c
Examining data/hello-2.10/lib/getopt.in.h
Examining data/hello-2.10/lib/strerror-override.c
Examining data/hello-2.10/lib/error.h
Examining data/hello-2.10/lib/strerror-override.h
Examining data/hello-2.10/lib/unistd.in.h
Examining data/hello-2.10/lib/progname.c
Examining data/hello-2.10/lib/closeout.c
Examining data/hello-2.10/lib/malloc.c
Examining data/hello-2.10/lib/msvc-inval.c
Examining data/hello-2.10/lib/mbrtowc.c
Examining data/hello-2.10/lib/gettext.h
Examining data/hello-2.10/lib/quotearg.h
Examining data/hello-2.10/lib/string.in.h
Examining data/hello-2.10/lib/wchar.in.h
Examining data/hello-2.10/lib/intprops.h
Examining data/hello-2.10/lib/streq.h
Examining data/hello-2.10/lib/stdio.in.h
Examining data/hello-2.10/lib/memchr.c
Examining data/hello-2.10/lib/fpending.c
Examining data/hello-2.10/lib/dosname.h
Examining data/hello-2.10/lib/strnlen1.c
Examining data/hello-2.10/lib/dirname.c
Examining data/hello-2.10/lib/msvc-inval.h
Examining data/hello-2.10/lib/stripslash.c
Examining data/hello-2.10/lib/c-strcaseeq.h
Examining data/hello-2.10/lib/quote.h
Examining data/hello-2.10/lib/c-strcasecmp.c
Examining data/hello-2.10/lib/mbsrtowcs-impl.h
Examining data/hello-2.10/lib/xmalloc.c
Examining data/hello-2.10/lib/msvc-nothrow.h
Examining data/hello-2.10/src/hello.c
Examining data/hello-2.10/src/system.h

FINAL RESULTS:

data/hello-2.10/lib/stdio.in.h:720:8:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
#undef gets
data/hello-2.10/lib/stdio.in.h:722:18:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
data/hello-2.10/lib/unistd.in.h:260:18:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_WARN_ON_USE (chown, "chdir is not always in <unistd.h> - "
data/hello-2.10/lib/unistd.in.h:274:11:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
#   undef chown
data/hello-2.10/lib/unistd.in.h:275:12:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
#   define chown rpl_chown
data/hello-2.10/lib/unistd.in.h:277:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_FUNCDECL_RPL (chown, int, (const char *file, uid_t uid, gid_t gid)
data/hello-2.10/lib/unistd.in.h:279:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_CXXALIAS_RPL (chown, int, (const char *file, uid_t uid, gid_t gid));
data/hello-2.10/lib/unistd.in.h:282:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_FUNCDECL_SYS (chown, int, (const char *file, uid_t uid, gid_t gid)
data/hello-2.10/lib/unistd.in.h:285:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_CXXALIAS_SYS (chown, int, (const char *file, uid_t uid, gid_t gid));
data/hello-2.10/lib/unistd.in.h:287:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_CXXALIASWARN (chown);
data/hello-2.10/lib/unistd.in.h:289:9:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
# undef chown
data/hello-2.10/lib/unistd.in.h:291:18:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_WARN_ON_USE (chown, "chown fails to follow symlinks on some systems and "
data/hello-2.10/lib/unistd.in.h:1263:12:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
#   define readlink rpl_readlink
data/hello-2.10/lib/unistd.in.h:1265:19:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
_GL_FUNCDECL_RPL (readlink, ssize_t,
data/hello-2.10/lib/unistd.in.h:1268:19:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
_GL_CXXALIAS_RPL (readlink, ssize_t,
data/hello-2.10/lib/unistd.in.h:1272:19:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
_GL_FUNCDECL_SYS (readlink, ssize_t,
data/hello-2.10/lib/unistd.in.h:1276:19:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
_GL_CXXALIAS_SYS (readlink, ssize_t,
data/hello-2.10/lib/unistd.in.h:1279:19:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
_GL_CXXALIASWARN (readlink);
data/hello-2.10/lib/unistd.in.h:1281:9:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
# undef readlink
data/hello-2.10/lib/unistd.in.h:1283:18:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
_GL_WARN_ON_USE (readlink, "readlink is unportable - "
data/hello-2.10/lib/error.c:270: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, message, args);
data/hello-2.10/lib/error.c:385:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf (stderr, file_name != NULL ? "%s:%d: " : " ",
data/hello-2.10/lib/localcharset.c:239:23:  [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 (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);
data/hello-2.10/lib/localcharset.c:240:23:  [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 (res_ptr + res_size - (l2 + 1), buf2);
data/hello-2.10/lib/localcharset.c:481:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (buf, "CP%s", pdot + 1);
data/hello-2.10/lib/stdio.in.h:279:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#   define fprintf rpl_fprintf
data/hello-2.10/lib/stdio.in.h:283:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (fprintf, int, (FILE *fp, const char *format, ...)
data/hello-2.10/lib/stdio.in.h:287:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (fprintf, int, (FILE *fp, const char *format, ...)
data/hello-2.10/lib/stdio.in.h:291:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_RPL (fprintf, int, (FILE *fp, const char *format, ...));
data/hello-2.10/lib/stdio.in.h:293:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_SYS (fprintf, int, (FILE *fp, const char *format, ...));
data/hello-2.10/lib/stdio.in.h:295:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIASWARN (fprintf);
data/hello-2.10/lib/stdio.in.h:299:10:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  undef fprintf
data/hello-2.10/lib/stdio.in.h:302:18:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_WARN_ON_USE (fprintf, "fprintf is not always POSIX compliant - "
data/hello-2.10/lib/stdio.in.h:406:11:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#   undef fscanf
data/hello-2.10/lib/stdio.in.h:407:12:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#   define fscanf rpl_fscanf
data/hello-2.10/lib/stdio.in.h:409:19:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_FUNCDECL_RPL (fscanf, int, (FILE *stream, const char *format, ...)
data/hello-2.10/lib/stdio.in.h:412:19:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_RPL (fscanf, int, (FILE *stream, const char *format, ...));
data/hello-2.10/lib/stdio.in.h:414:19:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_SYS (fscanf, int, (FILE *stream, const char *format, ...));
data/hello-2.10/lib/stdio.in.h:416:19:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIASWARN (fscanf);
data/hello-2.10/lib/stdio.in.h:815:11:  [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.
#   undef popen
data/hello-2.10/lib/stdio.in.h:816:12:  [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 rpl_popen
data/hello-2.10/lib/stdio.in.h:818:19:  [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.
_GL_FUNCDECL_RPL (popen, FILE *, (const char *cmd, const char *mode)
data/hello-2.10/lib/stdio.in.h:820:19:  [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.
_GL_CXXALIAS_RPL (popen, FILE *, (const char *cmd, const char *mode));
data/hello-2.10/lib/stdio.in.h:823:19:  [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.
_GL_FUNCDECL_SYS (popen, FILE *, (const char *cmd, const char *mode)
data/hello-2.10/lib/stdio.in.h:826:19:  [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.
_GL_CXXALIAS_SYS (popen, FILE *, (const char *cmd, const char *mode));
data/hello-2.10/lib/stdio.in.h:828:19:  [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.
_GL_CXXALIASWARN (popen);
data/hello-2.10/lib/stdio.in.h:830: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.
# undef popen
data/hello-2.10/lib/stdio.in.h:832:18:  [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.
_GL_WARN_ON_USE (popen, "popen is buggy on some platforms - "
data/hello-2.10/lib/stdio.in.h:843:13:  [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.
#    define printf __printf__
data/hello-2.10/lib/stdio.in.h:860:21:  [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.
_GL_CXXALIAS_RPL_1 (printf, __printf__, int, (const char *format, ...));
data/hello-2.10/lib/stdio.in.h:863:13:  [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.
#    define printf rpl_printf
data/hello-2.10/lib/stdio.in.h:865:19:  [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.
_GL_FUNCDECL_RPL (printf, int,
data/hello-2.10/lib/stdio.in.h:869:19:  [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.
_GL_CXXALIAS_RPL (printf, int, (const char *format, ...));
data/hello-2.10/lib/stdio.in.h:873:19:  [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.
_GL_CXXALIAS_SYS (printf, int, (const char *format, ...));
data/hello-2.10/lib/stdio.in.h:875:19:  [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.
_GL_CXXALIASWARN (printf);
data/hello-2.10/lib/stdio.in.h:879:10:  [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.
#  undef printf
data/hello-2.10/lib/stdio.in.h:882:18:  [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.
_GL_WARN_ON_USE (printf, "printf is not always POSIX compliant - "
data/hello-2.10/lib/stdio.in.h:1004:12:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#    undef scanf
data/hello-2.10/lib/stdio.in.h:1006:13:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#    define scanf __scanf__
data/hello-2.10/lib/stdio.in.h:1014:21:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_RPL_1 (scanf, __scanf__, int, (const char *format, ...));
data/hello-2.10/lib/stdio.in.h:1017:12:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#    undef scanf
data/hello-2.10/lib/stdio.in.h:1018:13:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#    define scanf rpl_scanf
data/hello-2.10/lib/stdio.in.h:1020:19:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_FUNCDECL_RPL (scanf, int, (const char *format, ...)
data/hello-2.10/lib/stdio.in.h:1023:19:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_RPL (scanf, int, (const char *format, ...));
data/hello-2.10/lib/stdio.in.h:1026:19:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_SYS (scanf, int, (const char *format, ...));
data/hello-2.10/lib/stdio.in.h:1028:19:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIASWARN (scanf);
data/hello-2.10/lib/stdio.in.h:1034:12:  [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 rpl_snprintf
data/hello-2.10/lib/stdio.in.h:1036:19:  [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.
_GL_FUNCDECL_RPL (snprintf, int,
data/hello-2.10/lib/stdio.in.h:1040:19:  [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.
_GL_CXXALIAS_RPL (snprintf, int,
data/hello-2.10/lib/stdio.in.h:1044:19:  [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.
_GL_FUNCDECL_SYS (snprintf, int,
data/hello-2.10/lib/stdio.in.h:1049:19:  [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.
_GL_CXXALIAS_SYS (snprintf, int,
data/hello-2.10/lib/stdio.in.h:1052:19:  [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.
_GL_CXXALIASWARN (snprintf);
data/hello-2.10/lib/stdio.in.h:1054:9:  [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.
# undef snprintf
data/hello-2.10/lib/stdio.in.h:1056:18:  [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.
_GL_WARN_ON_USE (snprintf, "snprintf is unportable - "
data/hello-2.10/lib/stdio.in.h:1073:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#   define sprintf rpl_sprintf
data/hello-2.10/lib/stdio.in.h:1075:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_FUNCDECL_RPL (sprintf, int, (char *str, const char *format, ...)
data/hello-2.10/lib/stdio.in.h:1078:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIAS_RPL (sprintf, int, (char *str, const char *format, ...));
data/hello-2.10/lib/stdio.in.h:1080:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIAS_SYS (sprintf, int, (char *str, const char *format, ...));
data/hello-2.10/lib/stdio.in.h:1082:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIASWARN (sprintf);
data/hello-2.10/lib/stdio.in.h:1084:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
# undef sprintf
data/hello-2.10/lib/stdio.in.h:1086:18:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_WARN_ON_USE (sprintf, "sprintf is not always POSIX compliant - "
data/hello-2.10/lib/stdio.in.h:1192:12:  [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.
#   define vfprintf rpl_vfprintf
data/hello-2.10/lib/stdio.in.h:1196:19:  [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.
_GL_FUNCDECL_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args)
data/hello-2.10/lib/stdio.in.h:1200:19:  [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.
_GL_FUNCDECL_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args)
data/hello-2.10/lib/stdio.in.h:1204:19:  [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.
_GL_CXXALIAS_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args));
data/hello-2.10/lib/stdio.in.h:1209:24:  [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.
_GL_CXXALIAS_SYS_CAST (vfprintf, int,
data/hello-2.10/lib/stdio.in.h:1212:19:  [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.
_GL_CXXALIASWARN (vfprintf);
data/hello-2.10/lib/stdio.in.h:1216:10:  [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.
#  undef vfprintf
data/hello-2.10/lib/stdio.in.h:1219:18:  [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.
_GL_WARN_ON_USE (vfprintf, "vfprintf is not always POSIX compliant - "
data/hello-2.10/lib/stdio.in.h:1227:11:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#   undef vfscanf
data/hello-2.10/lib/stdio.in.h:1228:12:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#   define vfscanf rpl_vfscanf
data/hello-2.10/lib/stdio.in.h:1230:19:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_FUNCDECL_RPL (vfscanf, int,
data/hello-2.10/lib/stdio.in.h:1234:19:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_RPL (vfscanf, int,
data/hello-2.10/lib/stdio.in.h:1237:19:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_SYS (vfscanf, int,
data/hello-2.10/lib/stdio.in.h:1240:19:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIASWARN (vfscanf);
data/hello-2.10/lib/stdio.in.h:1247:12:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#   define vprintf rpl_vprintf
data/hello-2.10/lib/stdio.in.h:1251:19:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (vprintf, int, (const char *format, va_list args)
data/hello-2.10/lib/stdio.in.h:1255:19:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (vprintf, int, (const char *format, va_list args)
data/hello-2.10/lib/stdio.in.h:1259:19:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_RPL (vprintf, int, (const char *format, va_list args));
data/hello-2.10/lib/stdio.in.h:1264:24:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_SYS_CAST (vprintf, int, (const char *format, va_list args));
data/hello-2.10/lib/stdio.in.h:1266:19:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIASWARN (vprintf);
data/hello-2.10/lib/stdio.in.h:1270:10:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  undef vprintf
data/hello-2.10/lib/stdio.in.h:1273:18:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_WARN_ON_USE (vprintf, "vprintf is not always POSIX compliant - "
data/hello-2.10/lib/stdio.in.h:1281:11:  [4] (buffer) vscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#   undef vscanf
data/hello-2.10/lib/stdio.in.h:1282:12:  [4] (buffer) vscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#   define vscanf rpl_vscanf
data/hello-2.10/lib/stdio.in.h:1284:19:  [4] (buffer) vscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_FUNCDECL_RPL (vscanf, int, (const char *format, va_list args)
data/hello-2.10/lib/stdio.in.h:1287:19:  [4] (buffer) vscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_RPL (vscanf, int, (const char *format, va_list args));
data/hello-2.10/lib/stdio.in.h:1289:19:  [4] (buffer) vscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_SYS (vscanf, int, (const char *format, va_list args));
data/hello-2.10/lib/stdio.in.h:1291:19:  [4] (buffer) vscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIASWARN (vscanf);
data/hello-2.10/lib/stdio.in.h:1297:12:  [4] (format) vsnprintf:
  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 vsnprintf rpl_vsnprintf
data/hello-2.10/lib/stdio.in.h:1299:19:  [4] (format) vsnprintf:
  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.
_GL_FUNCDECL_RPL (vsnprintf, int,
data/hello-2.10/lib/stdio.in.h:1303:19:  [4] (format) vsnprintf:
  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.
_GL_CXXALIAS_RPL (vsnprintf, int,
data/hello-2.10/lib/stdio.in.h:1307:19:  [4] (format) vsnprintf:
  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.
_GL_FUNCDECL_SYS (vsnprintf, int,
data/hello-2.10/lib/stdio.in.h:1312:19:  [4] (format) vsnprintf:
  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.
_GL_CXXALIAS_SYS (vsnprintf, int,
data/hello-2.10/lib/stdio.in.h:1315:19:  [4] (format) vsnprintf:
  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.
_GL_CXXALIASWARN (vsnprintf);
data/hello-2.10/lib/stdio.in.h:1317:9:  [4] (format) vsnprintf:
  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.
# undef vsnprintf
data/hello-2.10/lib/stdio.in.h:1319:18:  [4] (format) vsnprintf:
  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.
_GL_WARN_ON_USE (vsnprintf, "vsnprintf is unportable - "
data/hello-2.10/lib/stdio.in.h:1327:12:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#   define vsprintf rpl_vsprintf
data/hello-2.10/lib/stdio.in.h:1329:19:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_FUNCDECL_RPL (vsprintf, int,
data/hello-2.10/lib/stdio.in.h:1333:19:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIAS_RPL (vsprintf, int,
data/hello-2.10/lib/stdio.in.h:1339:24:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIAS_SYS_CAST (vsprintf, int,
data/hello-2.10/lib/stdio.in.h:1342:19:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIASWARN (vsprintf);
data/hello-2.10/lib/stdio.in.h:1344:9:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
# undef vsprintf
data/hello-2.10/lib/stdio.in.h:1346:18:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_WARN_ON_USE (vsprintf, "vsprintf is not always POSIX compliant - "
data/hello-2.10/lib/strerror.c:33:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#undef sprintf
data/hello-2.10/lib/strerror.c:59:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (buf, fmt, n);
data/hello-2.10/lib/unistd.in.h:249:18:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
_GL_WARN_ON_USE (access, "the access function is a security risk - "
data/hello-2.10/lib/unistd.in.h:774:19:  [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.
_GL_FUNCDECL_SYS (getlogin, char *, (void));
data/hello-2.10/lib/unistd.in.h:776:19:  [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.
_GL_CXXALIAS_SYS (getlogin, char *, (void));
data/hello-2.10/lib/unistd.in.h:777:19:  [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.
_GL_CXXALIASWARN (getlogin);
data/hello-2.10/lib/unistd.in.h:779:9:  [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.
# undef getlogin
data/hello-2.10/lib/unistd.in.h:781: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.
_GL_WARN_ON_USE (getlogin, "getlogin is unportable - "
data/hello-2.10/lib/wchar.in.h:595:19:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
_GL_FUNCDECL_SYS (wcscpy, wchar_t *, (wchar_t *dest, const wchar_t *src));
data/hello-2.10/lib/wchar.in.h:597:19:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
_GL_CXXALIAS_SYS (wcscpy, wchar_t *, (wchar_t *dest, const wchar_t *src));
data/hello-2.10/lib/wchar.in.h:598:19:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
_GL_CXXALIASWARN (wcscpy);
data/hello-2.10/lib/wchar.in.h:600:9:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
# undef wcscpy
data/hello-2.10/lib/wchar.in.h:602:18:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
_GL_WARN_ON_USE (wcscpy, "wcscpy is unportable - "
data/hello-2.10/lib/wchar.in.h:664:19:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_FUNCDECL_SYS (wcscat, wchar_t *, (wchar_t *dest, const wchar_t *src));
data/hello-2.10/lib/wchar.in.h:666:19:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_CXXALIAS_SYS (wcscat, wchar_t *, (wchar_t *dest, const wchar_t *src));
data/hello-2.10/lib/wchar.in.h:667:19:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_CXXALIASWARN (wcscat);
data/hello-2.10/lib/wchar.in.h:669:9:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
# undef wcscat
data/hello-2.10/lib/wchar.in.h:671:18:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_WARN_ON_USE (wcscat, "wcscat is unportable - "
data/hello-2.10/lib/getopt.c:101:14:  [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.
extern char *getenv ();
data/hello-2.10/lib/getopt.c:237:47:  [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.
  d->__posixly_correct = posixly_correct || !!getenv ("POSIXLY_CORRECT");
data/hello-2.10/lib/getopt.c:1157:1:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
getopt (int argc, char *const *argv, const char *optstring)
data/hello-2.10/lib/getopt.c:1192:11:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt (argc, argv, "abc:d:0123456789");
data/hello-2.10/lib/getopt.in.h:59:9:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# undef getopt
data/hello-2.10/lib/getopt.in.h:60:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# undef getopt_long
data/hello-2.10/lib/getopt.in.h:70:10:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# define getopt __GETOPT_ID (getopt)
data/hello-2.10/lib/getopt.in.h:70:30:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# define getopt __GETOPT_ID (getopt)
data/hello-2.10/lib/getopt.in.h:71:10:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# define getopt_long __GETOPT_ID (getopt_long)
data/hello-2.10/lib/getopt.in.h:71:35:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# define getopt_long __GETOPT_ID (getopt_long)
data/hello-2.10/lib/getopt.in.h:232:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
data/hello-2.10/lib/getopt.in.h:236:12:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt_long (int ___argc, char *__getopt_argv_const *___argv,
data/hello-2.10/lib/getopt1.c:40:1:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
getopt_long (int argc, char *__getopt_argv_const *argv, const char *options,
data/hello-2.10/lib/getopt1.c:105:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt_long (argc, argv, "abc:d:0123456789",
data/hello-2.10/lib/localcharset.c:138:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      dir = getenv ("CHARSETALIASDIR");
data/hello-2.10/lib/localcharset.c:384: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.
      locale = getenv ("LC_ALL");
data/hello-2.10/lib/localcharset.c:387:20:  [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.
          locale = getenv ("LC_CTYPE");
data/hello-2.10/lib/localcharset.c:389:22:  [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.
            locale = getenv ("LANG");
data/hello-2.10/lib/localcharset.c:445: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.
      locale = getenv ("LC_ALL");
data/hello-2.10/lib/localcharset.c:448:20:  [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.
          locale = getenv ("LC_CTYPE");
data/hello-2.10/lib/localcharset.c:450:22:  [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.
            locale = getenv ("LANG");
data/hello-2.10/lib/localcharset.c:504: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.
  locale = getenv ("LC_ALL");
data/hello-2.10/lib/localcharset.c:507: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.
      locale = getenv ("LC_CTYPE");
data/hello-2.10/lib/localcharset.c:509:18:  [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.
        locale = getenv ("LANG");
data/hello-2.10/lib/stdlib.in.h:558:19:  [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.
_GL_FUNCDECL_SYS (random, long, (void));
data/hello-2.10/lib/stdlib.in.h:560:19:  [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.
_GL_CXXALIAS_SYS (random, long, (void));
data/hello-2.10/lib/stdlib.in.h:561:19:  [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.
_GL_CXXALIASWARN (random);
data/hello-2.10/lib/stdlib.in.h:563:9:  [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.
# undef random
data/hello-2.10/lib/stdlib.in.h:565:18:  [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.
_GL_WARN_ON_USE (random, "random is unportable - "
data/hello-2.10/lib/stdlib.in.h:572:19:  [3] (random) srandom:
  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.
_GL_FUNCDECL_SYS (srandom, void, (unsigned int seed));
data/hello-2.10/lib/stdlib.in.h:574:19:  [3] (random) srandom:
  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.
_GL_CXXALIAS_SYS (srandom, void, (unsigned int seed));
data/hello-2.10/lib/stdlib.in.h:575:19:  [3] (random) srandom:
  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.
_GL_CXXALIASWARN (srandom);
data/hello-2.10/lib/stdlib.in.h:577:9:  [3] (random) srandom:
  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.
# undef srandom
data/hello-2.10/lib/stdlib.in.h:579:18:  [3] (random) srandom:
  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.
_GL_WARN_ON_USE (srandom, "srandom is unportable - "
data/hello-2.10/lib/stdlib.in.h:603:19:  [3] (random) setstate:
  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.
_GL_FUNCDECL_SYS (setstate, char *, (char *arg_state) _GL_ARG_NONNULL ((1)));
data/hello-2.10/lib/stdlib.in.h:605:19:  [3] (random) setstate:
  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.
_GL_CXXALIAS_SYS (setstate, char *, (char *arg_state));
data/hello-2.10/lib/stdlib.in.h:606:19:  [3] (random) setstate:
  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.
_GL_CXXALIASWARN (setstate);
data/hello-2.10/lib/stdlib.in.h:608:9:  [3] (random) setstate:
  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.
# undef setstate
data/hello-2.10/lib/stdlib.in.h:610:18:  [3] (random) setstate:
  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.
_GL_WARN_ON_USE (setstate, "setstate is unportable - "
data/hello-2.10/lib/stdlib.in.h:756:12:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
#   define realpath rpl_realpath
data/hello-2.10/lib/stdlib.in.h:758:19:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
_GL_FUNCDECL_RPL (realpath, char *, (const char *name, char *resolved)
data/hello-2.10/lib/stdlib.in.h:760:19:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
_GL_CXXALIAS_RPL (realpath, char *, (const char *name, char *resolved));
data/hello-2.10/lib/stdlib.in.h:763:19:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
_GL_FUNCDECL_SYS (realpath, char *, (const char *name, char *resolved)
data/hello-2.10/lib/stdlib.in.h:766:19:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
_GL_CXXALIAS_SYS (realpath, char *, (const char *name, char *resolved));
data/hello-2.10/lib/stdlib.in.h:768:19:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
_GL_CXXALIASWARN (realpath);
data/hello-2.10/lib/stdlib.in.h:770:9:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
# undef realpath
data/hello-2.10/lib/stdlib.in.h:772:18:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
_GL_WARN_ON_USE (realpath, "realpath is unportable - use gnulib module "
data/hello-2.10/src/hello.c:68:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "g:htv", longopts, NULL)) != -1)
data/hello-2.10/lib/basename.c:51: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 (p + 2, base, length);
data/hello-2.10/lib/dirname-lgpl.c:81: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 (dir, file, length);
data/hello-2.10/lib/error.c:176: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 errbuf[1024];
data/hello-2.10/lib/gettext.h:218:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char msg_ctxt_id[msgctxt_len + msgid_len];
data/hello-2.10/lib/gettext.h:220: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[1024];
data/hello-2.10/lib/gettext.h:228: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 (msg_ctxt_id, msgctxt, msgctxt_len - 1);
data/hello-2.10/lib/gettext.h:230: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 (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
data/hello-2.10/lib/gettext.h:264:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char msg_ctxt_id[msgctxt_len + msgid_len];
data/hello-2.10/lib/gettext.h:266: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[1024];
data/hello-2.10/lib/gettext.h:274: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 (msg_ctxt_id, msgctxt, msgctxt_len - 1);
data/hello-2.10/lib/gettext.h:276: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 (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
data/hello-2.10/lib/localcharset.c:150: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 (file_name, dir, dir_len);
data/hello-2.10/lib/localcharset.c:153: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 (file_name + dir_len + add_slash, base, base_len + 1);
data/hello-2.10/lib/localcharset.c:171:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          fd = open (file_name,
data/hello-2.10/lib/localcharset.c:196:23:  [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[50+1];
data/hello-2.10/lib/localcharset.c:197:23:  [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 buf2[50+1];
data/hello-2.10/lib/localcharset.c:382: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 buf[2 + 10 + 1];
data/hello-2.10/lib/localcharset.c:408: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 (buf, dot, modifier - dot);
data/hello-2.10/lib/localcharset.c:426: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 (buf, "CP%u", GetACP ());
data/hello-2.10/lib/localcharset.c:463: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 buf[2 + 10 + 1];
data/hello-2.10/lib/localcharset.c:491: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 (buf, "CP%u", GetACP ());
data/hello-2.10/lib/localcharset.c:498: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 buf[2 + 10 + 1];
data/hello-2.10/lib/localcharset.c:527:15:  [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, dot, modifier - dot);
data/hello-2.10/lib/localcharset.c:543: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, "CP%u", cp[0]);
data/hello-2.10/lib/mbrtowc.c:36: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 internal_state[4];
data/hello-2.10/lib/mbrtowc.c:60: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[4];
data/hello-2.10/lib/quotearg.c:731: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 slot0[256];
data/hello-2.10/lib/stdio.in.h:258: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).
#   undef fopen
data/hello-2.10/lib/stdio.in.h:259:12:  [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).
#   define fopen rpl_fopen
data/hello-2.10/lib/stdio.in.h:261:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_FUNCDECL_RPL (fopen, FILE *, (const char *filename, const char *mode)
data/hello-2.10/lib/stdio.in.h:263:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_CXXALIAS_RPL (fopen, FILE *, (const char *filename, const char *mode));
data/hello-2.10/lib/stdio.in.h:265:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_CXXALIAS_SYS (fopen, FILE *, (const char *filename, const char *mode));
data/hello-2.10/lib/stdio.in.h:267:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_CXXALIASWARN (fopen);
data/hello-2.10/lib/stdio.in.h:269: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).
# undef fopen
data/hello-2.10/lib/stdio.in.h:271:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_WARN_ON_USE (fopen, "fopen on native Windows platforms is not POSIX compliant - "
data/hello-2.10/lib/stdio.in.h:1094:12:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
#   define tmpfile rpl_tmpfile
data/hello-2.10/lib/stdio.in.h:1096:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
_GL_FUNCDECL_RPL (tmpfile, FILE *, (void));
data/hello-2.10/lib/stdio.in.h:1097:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
_GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
data/hello-2.10/lib/stdio.in.h:1099:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
_GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
data/hello-2.10/lib/stdio.in.h:1101:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
_GL_CXXALIASWARN (tmpfile);
data/hello-2.10/lib/stdio.in.h:1103:9:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
# undef tmpfile
data/hello-2.10/lib/stdio.in.h:1105:18:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
_GL_WARN_ON_USE (tmpfile, "tmpfile is not usable on mingw - "
data/hello-2.10/lib/stdlib.in.h:398:12:  [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).
#   define mkstemp rpl_mkstemp
data/hello-2.10/lib/stdlib.in.h:400:19:  [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).
_GL_FUNCDECL_RPL (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1)));
data/hello-2.10/lib/stdlib.in.h:401:19:  [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).
_GL_CXXALIAS_RPL (mkstemp, int, (char * /*template*/));
data/hello-2.10/lib/stdlib.in.h:404:19:  [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).
_GL_FUNCDECL_SYS (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1)));
data/hello-2.10/lib/stdlib.in.h:406:19:  [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).
_GL_CXXALIAS_SYS (mkstemp, int, (char * /*template*/));
data/hello-2.10/lib/stdlib.in.h:408:19:  [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).
_GL_CXXALIASWARN (mkstemp);
data/hello-2.10/lib/stdlib.in.h:410: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).
# undef mkstemp
data/hello-2.10/lib/stdlib.in.h:412:18:  [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).
_GL_WARN_ON_USE (mkstemp, "mkstemp is unportable - "
data/hello-2.10/lib/strerror.c:39: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 buf[STACKBUF_LEN];
data/hello-2.10/lib/strerror.c:69:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return memcpy (buf, msg, len + 1);
data/hello-2.10/lib/strndup.c:35:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return memcpy (new, s, len);
data/hello-2.10/lib/xmalloc.c:113:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return memcpy (xmalloc (s), p, s);
data/hello-2.10/lib/basename-lgpl.c:63: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).
  for (len = strlen (name);  1 < len && ISSLASH (name[len - 1]);  len--)
data/hello-2.10/lib/error.c:207: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).
      size_t len = strlen (message) + 1;
data/hello-2.10/lib/getopt.c:268:56:  [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 = d->__nonoption_flags_max_len = strlen (orig_str);
data/hello-2.10/lib/getopt.c:503:43:  [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 (namelen == (unsigned int) strlen (p->name))
data/hello-2.10/lib/getopt.c:588: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).
          d->__nextchar += strlen (d->__nextchar);
data/hello-2.10/lib/getopt.c:668: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).
                  d->__nextchar += strlen (d->__nextchar);
data/hello-2.10/lib/getopt.c:708: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).
                  d->__nextchar += strlen (d->__nextchar);
data/hello-2.10/lib/getopt.c:713: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).
          d->__nextchar += strlen (d->__nextchar);
data/hello-2.10/lib/getopt.c:906:63:  [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 ((unsigned int) (nameend - d->__nextchar) == strlen (p->name))
data/hello-2.10/lib/getopt.c:954:30:  [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).
            d->__nextchar += strlen (d->__nextchar);
data/hello-2.10/lib/getopt.c:998: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).
                    d->__nextchar += strlen (d->__nextchar);
data/hello-2.10/lib/getopt.c:1036: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).
                    d->__nextchar += strlen (d->__nextchar);
data/hello-2.10/lib/getopt.c:1042:30:  [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).
            d->__nextchar += strlen (d->__nextchar);
data/hello-2.10/lib/gettext.h:214:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgctxt_len = strlen (msgctxt) + 1;
data/hello-2.10/lib/gettext.h:215: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).
  size_t msgid_len = strlen (msgid) + 1;
data/hello-2.10/lib/gettext.h:260:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgctxt_len = strlen (msgctxt) + 1;
data/hello-2.10/lib/gettext.h:261: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).
  size_t msgid_len = strlen (msgid) + 1;
data/hello-2.10/lib/localcharset.c:104:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# undef getc
data/hello-2.10/lib/localcharset.c:105:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define getc getc_unlocked
data/hello-2.10/lib/localcharset.c:144:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t dir_len = strlen (dir);
data/hello-2.10/lib/localcharset.c:145:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t base_len = strlen (base);
data/hello-2.10/lib/localcharset.c:201:27:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                      c = getc (fp);
data/hello-2.10/lib/localcharset.c:210:33:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                            c = getc (fp);
data/hello-2.10/lib/localcharset.c:217:27:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                      if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
data/hello-2.10/lib/localcharset.c:219: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).
                      l1 = strlen (buf1);
data/hello-2.10/lib/localcharset.c:220: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).
                      l2 = strlen (buf2);
data/hello-2.10/lib/localcharset.c:557:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
       aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1)
data/hello-2.10/lib/localcharset.c:557:52:  [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).
       aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1)
data/hello-2.10/lib/localcharset.c:561: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).
        codeset = aliases + strlen (aliases) + 1;
data/hello-2.10/lib/quotearg.c:320: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).
        quote_string_len = strlen (quote_string);
data/hello-2.10/lib/quotearg.c:356:32:  [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).
                  ? (argsize = strlen (arg)) : argsize))
data/hello-2.10/lib/quotearg.c:543: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).
                  argsize = strlen (arg);
data/hello-2.10/lib/stdio.in.h:229:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef fgetc
data/hello-2.10/lib/stdio.in.h:230:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define fgetc rpl_fgetc
data/hello-2.10/lib/stdio.in.h:232:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_FUNCDECL_RPL (fgetc, int, (FILE *stream) _GL_ARG_NONNULL ((1)));
data/hello-2.10/lib/stdio.in.h:233:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_RPL (fgetc, int, (FILE *stream));
data/hello-2.10/lib/stdio.in.h:235:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_SYS (fgetc, int, (FILE *stream));
data/hello-2.10/lib/stdio.in.h:237:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (fgetc);
data/hello-2.10/lib/stdio.in.h:616:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef getc
data/hello-2.10/lib/stdio.in.h:617:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define getc rpl_fgetc
data/hello-2.10/lib/stdio.in.h:619:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_FUNCDECL_RPL (fgetc, int, (FILE *stream) _GL_ARG_NONNULL ((1)));
data/hello-2.10/lib/stdio.in.h:620:21:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_RPL_1 (getc, rpl_fgetc, int, (FILE *stream));
data/hello-2.10/lib/stdio.in.h:622:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_SYS (getc, int, (FILE *stream));
data/hello-2.10/lib/stdio.in.h:624:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (getc);
data/hello-2.10/lib/stdio.in.h:630:11:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef getchar
data/hello-2.10/lib/stdio.in.h:631:12:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define getchar rpl_getchar
data/hello-2.10/lib/stdio.in.h:633:19:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_FUNCDECL_RPL (getchar, int, (void));
data/hello-2.10/lib/stdio.in.h:634:19:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_RPL (getchar, int, (void));
data/hello-2.10/lib/stdio.in.h:636:19:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_SYS (getchar, int, (void));
data/hello-2.10/lib/stdio.in.h:638:19:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (getchar);
data/hello-2.10/lib/strerror.c:65: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 (msg);
data/hello-2.10/lib/string.in.h:378:11:  [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.
#   undef strncat
data/hello-2.10/lib/string.in.h:379: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.
#   define strncat rpl_strncat
data/hello-2.10/lib/string.in.h:381:19:  [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.
_GL_FUNCDECL_RPL (strncat, char *, (char *dest, const char *src, size_t n)
data/hello-2.10/lib/string.in.h:383:19:  [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.
_GL_CXXALIAS_RPL (strncat, char *, (char *dest, const char *src, size_t n));
data/hello-2.10/lib/string.in.h:385:19:  [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.
_GL_CXXALIAS_SYS (strncat, char *, (char *dest, const char *src, size_t n));
data/hello-2.10/lib/string.in.h:387:19:  [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.
_GL_CXXALIASWARN (strncat);
data/hello-2.10/lib/string.in.h:389:9:  [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.
# undef strncat
data/hello-2.10/lib/string.in.h:391:18:  [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.
_GL_WARN_ON_USE (strncat, "strncat is unportable - "
data/hello-2.10/lib/unistd.in.h:1239:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef read
data/hello-2.10/lib/unistd.in.h:1240:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define read rpl_read
data/hello-2.10/lib/unistd.in.h:1242:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_FUNCDECL_RPL (read, ssize_t, (int fd, void *buf, size_t count)
data/hello-2.10/lib/unistd.in.h:1244:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_RPL (read, ssize_t, (int fd, void *buf, size_t count));
data/hello-2.10/lib/unistd.in.h:1249:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_SYS_CAST (read, ssize_t, (int fd, void *buf, size_t count));
data/hello-2.10/lib/unistd.in.h:1251:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (read);
data/hello-2.10/lib/unistd.in.h:1534:11:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
#   undef usleep
data/hello-2.10/lib/unistd.in.h:1535:12:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
#   define usleep rpl_usleep
data/hello-2.10/lib/unistd.in.h:1537:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_FUNCDECL_RPL (usleep, int, (useconds_t n));
data/hello-2.10/lib/unistd.in.h:1538:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_CXXALIAS_RPL (usleep, int, (useconds_t n));
data/hello-2.10/lib/unistd.in.h:1541:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_FUNCDECL_SYS (usleep, int, (useconds_t n));
data/hello-2.10/lib/unistd.in.h:1543:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_CXXALIAS_SYS (usleep, int, (useconds_t n));
data/hello-2.10/lib/unistd.in.h:1545:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_CXXALIASWARN (usleep);
data/hello-2.10/lib/unistd.in.h:1547:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
# undef usleep
data/hello-2.10/lib/unistd.in.h:1549:18:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_WARN_ON_USE (usleep, "usleep is unportable - "
data/hello-2.10/lib/wchar.in.h:562:19:  [1] (buffer) wcslen:
  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).
_GL_FUNCDECL_SYS (wcslen, size_t, (const wchar_t *s) _GL_ATTRIBUTE_PURE);
data/hello-2.10/lib/wchar.in.h:564:19:  [1] (buffer) wcslen:
  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).
_GL_CXXALIAS_SYS (wcslen, size_t, (const wchar_t *s));
data/hello-2.10/lib/wchar.in.h:565:19:  [1] (buffer) wcslen:
  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).
_GL_CXXALIASWARN (wcslen);
data/hello-2.10/lib/wchar.in.h:567:9:  [1] (buffer) wcslen:
  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).
# undef wcslen
data/hello-2.10/lib/wchar.in.h:569:18:  [1] (buffer) wcslen:
  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).
_GL_WARN_ON_USE (wcslen, "wcslen is unportable - "
data/hello-2.10/lib/wchar.in.h:627:19:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
_GL_FUNCDECL_SYS (wcsncpy, wchar_t *,
data/hello-2.10/lib/wchar.in.h:630:19:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
_GL_CXXALIAS_SYS (wcsncpy, wchar_t *,
data/hello-2.10/lib/wchar.in.h:632:19:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
_GL_CXXALIASWARN (wcsncpy);
data/hello-2.10/lib/wchar.in.h:634:9:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
# undef wcsncpy
data/hello-2.10/lib/wchar.in.h:636:18:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
_GL_WARN_ON_USE (wcsncpy, "wcsncpy is unportable - "
data/hello-2.10/lib/wchar.in.h:680:19:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
_GL_FUNCDECL_SYS (wcsncat, wchar_t *,
data/hello-2.10/lib/wchar.in.h:683:19:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
_GL_CXXALIAS_SYS (wcsncat, wchar_t *,
data/hello-2.10/lib/wchar.in.h:685:19:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
_GL_CXXALIASWARN (wcsncat);
data/hello-2.10/lib/wchar.in.h:687:9:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
# undef wcsncat
data/hello-2.10/lib/wchar.in.h:689:18:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
_GL_WARN_ON_USE (wcsncat, "wcsncat is unportable - "
data/hello-2.10/lib/xmalloc.c:121:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return xmemdup (string, strlen (string) + 1);

ANALYSIS SUMMARY:

Hits = 334
Lines analyzed = 17413 in approximately 0.60 seconds (29019 lines/second)
Physical Source Lines of Code (SLOC) = 11113
Hits@level = [0]  61 [1]  90 [2]  54 [3]  48 [4] 122 [5]  20
Hits@level+ = [0+] 395 [1+] 334 [2+] 244 [3+] 190 [4+] 142 [5+]  20
Hits/KSLOC@level+ = [0+] 35.544 [1+] 30.0549 [2+] 21.9563 [3+] 17.0971 [4+] 12.7778 [5+] 1.79969
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.