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/ez-ipupdate-3.0.11b8/acconfig.h
Examining data/ez-ipupdate-3.0.11b8/conf_file.c
Examining data/ez-ipupdate-3.0.11b8/conf_file.h
Examining data/ez-ipupdate-3.0.11b8/md5.c
Examining data/ez-ipupdate-3.0.11b8/md5.h
Examining data/ez-ipupdate-3.0.11b8/cache_file.c
Examining data/ez-ipupdate-3.0.11b8/cache_file.h
Examining data/ez-ipupdate-3.0.11b8/error.h
Examining data/ez-ipupdate-3.0.11b8/pid_file.c
Examining data/ez-ipupdate-3.0.11b8/pid_file.h
Examining data/ez-ipupdate-3.0.11b8/dprintf.h
Examining data/ez-ipupdate-3.0.11b8/getpass.c
Examining data/ez-ipupdate-3.0.11b8/ez-ipupdate.c

FINAL RESULTS:

data/ez-ipupdate-3.0.11b8/cache_file.c:60:5:  [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 x; \
data/ez-ipupdate-3.0.11b8/conf_file.c:59:5:  [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 x; \
data/ez-ipupdate-3.0.11b8/conf_file.c:152:9:  [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, cmd->help, cmd->name);
data/ez-ipupdate-3.0.11b8/dprintf.h:13:5:  [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 x; \
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:186:14:  [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(x, y, z...) snprintf(x, y, ## z)
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:186:35:  [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(x, y, z...) snprintf(x, y, ## z)
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:188:14:  [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(x, y, z...) sprintf(x, ## z)
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:188:35:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
#    define  snprintf(x, y, z...) sprintf(x, ## z)
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:192: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(x, y, z...) vsnprintf(x, y, ## z)
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:192:34:  [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(x, y, z...) vsnprintf(x, y, ## z)
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:194: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(x, y, z...) vsprintf(x, ## z)
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:194:34:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
#  define  vsnprintf(x, y, z...) vsprintf(x, ## z)
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:796:5:  [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.
    vsnprintf(buf, sizeof(buf), fmt, args);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:798:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "message incomplete because your OS sucks: %s\n", fmt);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:801:5:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
    syslog(LOG_NOTICE, buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:806: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, fmt, args);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:916:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(post_update_cmd, "%s ", optarg);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1611:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(ifr.ifr_name, name);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3442:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(auth, buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:4312:7:  [4] (shell) execl:
  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.
      execl("/bin/sh", "sh", "-c", cmd, (char *)0);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:4467:23:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
    strncpy(password, getpass("password: "), sizeof(password));
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:4469:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(user, "%s:%s", user_name, password);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:4616:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(post_update_cmd_arg, "%s", inet_ntoa(sin.sin_addr));
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:4686:17:  [4] (shell) system:
  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.
                system(buf);
data/ez-ipupdate-3.0.11b8/getpass.c:70:7:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
char *getpass(const char *prompt)
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1160:41:  [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 xgetopt( x1, x2, x3, x4, x5 ) getopt_long( x1, x2, x3, x4, x5 )
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1162:41:  [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 xgetopt( x1, x2, x3, x4, x5 ) getopt( x1, x2, x3 )
data/ez-ipupdate-3.0.11b8/cache_file.c:81:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[BUFSIZ+1];
data/ez-ipupdate-3.0.11b8/cache_file.c:107:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if((fp=fopen(file, "r")) == NULL)
data/ez-ipupdate-3.0.11b8/cache_file.c:158:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if((fp=fopen(file, "w")) == NULL)
data/ez-ipupdate-3.0.11b8/conf_file.c:71:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[BUFSIZ+1];
data/ez-ipupdate-3.0.11b8/conf_file.c:90: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).
    if((in=fopen(fname, "r")) == NULL)
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:160:11:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
#  define vfork fork
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:225: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 *names[3];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:248:1:  [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 user[256];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:249:1:  [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 auth[512];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:250:1:  [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 user_name[128];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:251:1:  [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 password[128];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:755: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[16];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:793: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[MAX_MESSAGE_LEN];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1012:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      ntrys = atoi(optarg);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1065:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        i = atoi(optarg);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1090:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        i = atoi(optarg);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1129:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      timeout.tv_sec = atoi(optarg);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1135:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      connection_type = atoi(optarg);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1423:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    address.sin_port = htons(atoi(port));
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1455:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char ibuf[3];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1456:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char obuf[4];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1478:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(output, "%c%c==", 
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1483:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(output, "%c%c%c=", 
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1489:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(output, "%c%c%c%c", 
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1527: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(&tv, &timeout, sizeof(struct timeval));
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1569: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(&tv, &timeout, sizeof(struct timeval));
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1630:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(sin, &(ifr.ifr_addr), sizeof(struct sockaddr_in));
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1696:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  return(atoi(buf));
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1701: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[64];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1728: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[BUFFER_SIZE+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1846:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[BUFSIZ+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1890: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[BUFFER_SIZE+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2073:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char reason[256];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2095:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(reason, "problem parsing reason for wait response");
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2142:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[BUFSIZ+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2180: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[BUFFER_SIZE+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2342:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[BUFSIZ+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2385: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[BUFFER_SIZE+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2386: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 putbuf[BUFFER_SIZE+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2695:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[BUFSIZ+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2729: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[BUFFER_SIZE+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2819:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[BUFSIZ+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2857: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[BUFFER_SIZE+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2987:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[BUFSIZ+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3025: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[BUFFER_SIZE+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3143:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[BUFSIZ+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3195: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[BUFFER_SIZE+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3339:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[BUFSIZ+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3384:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char digestbuf[MD5_DIGEST_BYTES];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3385: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[BUFFER_SIZE+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3391: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 gnudip_request[2]; 
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3432:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(p, "%02x", digestbuf[i]);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3440:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(p, "%02x", digestbuf[i]);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3515:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[BUFSIZ+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3552: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[BUFFER_SIZE+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3665:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[BUFSIZ+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3702: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[BUFFER_SIZE+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3846: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[BUFFER_SIZE+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:4002:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[BUFSIZ+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:4025: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[BUFFER_SIZE+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:4140:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[BUFSIZ+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:4163: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[BUFFER_SIZE+1];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:4301:15:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
  switch((kid=vfork()))
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:4554:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char timebuf[64];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:4637:15:  [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 ipbuf[64];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:4679:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buf[1024];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:4728:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char ipbuf[64];
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:4841:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char ipbuf[64];
data/ez-ipupdate-3.0.11b8/getpass.c:74: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[INPUT_BUFFER];
data/ez-ipupdate-3.0.11b8/getpass.c:94:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if( (infp=fopen("/dev/tty", "r")) == NULL )
data/ez-ipupdate-3.0.11b8/getpass.c:98:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if( (outfp=fopen("/dev/tty", "w")) == NULL )
data/ez-ipupdate-3.0.11b8/md5.c:55: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.
static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ...  */ };
data/ez-ipupdate-3.0.11b8/md5.c:106: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 (&ctx->buffer[bytes], fillbuf, pad);
data/ez-ipupdate-3.0.11b8/md5.c:128: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 buffer[BLOCKSIZE + 72];
data/ez-ipupdate-3.0.11b8/md5.c:203: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 (&ctx->buffer[left_over], buffer, add);
data/ez-ipupdate-3.0.11b8/md5.c:210:4:  [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 (ctx->buffer, &ctx->buffer[(left_over + add) & ~63],
data/ez-ipupdate-3.0.11b8/md5.c: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 (ctx->buffer, buffer, len);
data/ez-ipupdate-3.0.11b8/md5.h:91:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[128];
data/ez-ipupdate-3.0.11b8/pid_file.c:23: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[64];
data/ez-ipupdate-3.0.11b8/pid_file.c:42:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if((fp=fopen(pid_file, "r")) != NULL)
data/ez-ipupdate-3.0.11b8/pid_file.c:51:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    otherpid = atoi(buf);
data/ez-ipupdate-3.0.11b8/pid_file.c:63:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if((fp=fopen(pid_file, "w")) == NULL)
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:914: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).
      post_update_cmd = malloc(strlen(optarg) + 1 + ARGLENGTH + 1);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:915:47:  [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).
      post_update_cmd_arg = post_update_cmd + strlen(optarg) + 1;
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1050:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(user, optarg, sizeof(user));
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:1545:35:  [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(send(client_sockfd, buf, strlen(buf), 0) == -1)
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2077: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).
          if(strlen(p) >= 2)
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2445: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).
  limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2447:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2448: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).
  limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2450:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2451: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).
  limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2453:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2454: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).
  limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2456:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2457: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).
  limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2459:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2460: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).
  limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2464:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2465:31:  [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).
    limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2467:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2468:31:  [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).
    limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2473:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2474:31:  [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).
    limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2477:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2478: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).
  limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2480:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2481: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).
  limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2483:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2484: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).
  limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2486:60:  [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).
  snprintf(buf, BUFFER_SIZE, "Content-length: %d\015\012", strlen(putbuf));
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2582:31:  [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).
    limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2584:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2585:31:  [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).
    limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2587:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2588:31:  [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).
    limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2590:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2591:31:  [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).
    limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2593:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2594:31:  [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).
    limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2596:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2597:31:  [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).
    limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2601:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2602:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2604:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2605:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2610:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2611:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2614:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2615:31:  [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).
    limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2617:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2618:31:  [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).
    limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2620:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p += strlen(p);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2621:31:  [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).
    limit = BUFFER_SIZE - 1 - strlen(buf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2623:62:  [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).
    snprintf(buf, BUFFER_SIZE, "Content-length: %d\015\012", strlen(putbuf));
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2758:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(strlen(buf) > 4)
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2776:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(strlen(buf) > 4)
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2796:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(strlen(buf) > 4)
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2949:48:  [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(!(strncmp(bp, "domainmismatch.htm", strlen(bp)) && strncmp(bp, "invname.htm", strlen(bp))))
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2949:90:  [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(!(strncmp(bp, "domainmismatch.htm", strlen(bp)) && strncmp(bp, "invname.htm", strlen(bp))))
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2953:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        else if(!strncmp(bp, "invkey.htm", strlen(bp)))
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2957: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).
        else if(!(strncmp(bp, "emailmismatch.htm", strlen(bp)) && strncmp(bp, "invemail.htm", strlen(bp))))
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:2957:95:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        else if(!(strncmp(bp, "emailmismatch.htm", strlen(bp)) && strncmp(bp, "invemail.htm", strlen(bp))))
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3429: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).
  md5_buffer(password, strlen(password), digestbuf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3434:3:  [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. Risk is low because the source is a
  constant character.
  strncat(auth, ".", 255-strlen(auth));
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3434: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).
  strncat(auth, ".", 255-strlen(auth));
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3435:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
  strncat(auth, buf, 255-strlen(auth));
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3435: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).
  strncat(auth, buf, 255-strlen(auth));
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:3437: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).
  md5_buffer(auth, strlen(auth), digestbuf);
data/ez-ipupdate-3.0.11b8/ez-ipupdate.c:4467:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(password, getpass("password: "), sizeof(password));
data/ez-ipupdate-3.0.11b8/getpass.c:136:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bytes_read=read(infd, buf, INPUT_BUFFER);

ANALYSIS SUMMARY:

Hits = 178
Lines analyzed = 6263 in approximately 0.22 seconds (28763 lines/second)
Physical Source Lines of Code (SLOC) = 5025
Hits@level = [0] 381 [1]  69 [2]  82 [3]   2 [4]  25 [5]   0
Hits@level+ = [0+] 559 [1+] 178 [2+] 109 [3+]  27 [4+]  25 [5+]   0
Hits/KSLOC@level+ = [0+] 111.244 [1+] 35.4229 [2+] 21.6915 [3+] 5.37313 [4+] 4.97512 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.