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/mate-equake-applet-1.3.8.2/src/equake_images.h
Examining data/mate-equake-applet-1.3.8.2/src/equake_processdata.c
Examining data/mate-equake-applet-1.3.8.2/src/equake_applet.c
Examining data/mate-equake-applet-1.3.8.2/src/equake_func.h
Examining data/mate-equake-applet-1.3.8.2/src/equake_dat.h
Examining data/mate-equake-applet-1.3.8.2/src/equake.c

FINAL RESULTS:

data/mate-equake-applet-1.3.8.2/src/equake.c:45:29:  [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.
  strncpy(equakedata->home, getenv("HOME"), strlen(getenv("HOME")));
data/mate-equake-applet-1.3.8.2/src/equake.c:45:52:  [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.
  strncpy(equakedata->home, getenv("HOME"), strlen(getenv("HOME")));
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:53:6:  [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).
  fp=fopen(equakedata->configfile, "r");
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:65:6:  [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).
  fp=fopen(equakedata->configfile, "w");
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:77:6:  [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).
  fp=fopen(equakedata->configfile, "r");
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:98: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).
          val=atoi(buf);
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:147: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).
          val=atoi(buf);
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:166: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).
          val=atoi(buf);
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:206: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).
          val=atoi(buf);
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:254: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).
          val=atoi(buf);
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:300: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 url[512];
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:439: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 url[URLSIZE];
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:469: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 url[URLSIZE];
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:494: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 url[URLSIZE];
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:661: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).
        fp=fopen(equakedata->configfile, "w");
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:871: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 url[URLSIZE], mapurl[URLSIZE];
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:165:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char portname[5];
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:177:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char home[URLSIZE+1]; /* user's home directory, we guess URLSIZE should be large enough, we use strncpy() and strncat() ... */
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:178: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 configfile[URLSIZE+1];
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:179: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 sigfile[URLSIZE+1]; /* location of sigfile if HOME is found */
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:182: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 quakeserver[256];
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:183: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 quakepath_us[256];
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:184: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 quakepath_ww[256];
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:185: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 quakepath_dyfi_be[128];
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:186: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 quakepath_dyfi_af[128];
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:187: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 quakefile_hourly[256];
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:188: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 quakefile_daily[256];
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:189: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 quakefile_weekly[256];
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:190: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 httprequest[HTTPREQ];
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:191: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 httprequestdaily[HTTPREQ];
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:192: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 httprequestweekly[HTTPREQ];
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:193: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[BUFFERSIZE];
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:194: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 bufferdaily[BUFFERSIZEDAILY];
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:195: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 bufferweekly[BUFFERSIZEWEEKLY];
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:196: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 formatstring[256];
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:197: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 tooltiptext_label[URLSIZE];
data/mate-equake-applet-1.3.8.2/src/equake_dat.h:198: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 lbl[LABELSIZE]; /* text the label will hold */
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:45: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 *token, *dt1, *dt2, buf[URLSIZE];
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:265: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 *token, *dt1, *dt2, buf[URLSIZE];
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:466: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 url[URLSIZE];
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:579:6:  [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).
  fp=fopen(equakedata->sigfile, "w");
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:598: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 *token, *dt1, *dt2, buf[URLSIZE];
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:886: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 url[URLSIZE];
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:1012: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 *c[8];
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:1112: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[100];
data/mate-equake-applet-1.3.8.2/src/equake.c:45:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(equakedata->home, getenv("HOME"), strlen(getenv("HOME")));
data/mate-equake-applet-1.3.8.2/src/equake.c:45:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  strncpy(equakedata->home, getenv("HOME"), strlen(getenv("HOME")));
data/mate-equake-applet-1.3.8.2/src/equake.c:47:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(equakedata->sigfile, equakedata->home, strlen(equakedata->home));
data/mate-equake-applet-1.3.8.2/src/equake.c:47:50:  [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).
  strncpy(equakedata->sigfile, equakedata->home, strlen(equakedata->home));
data/mate-equake-applet-1.3.8.2/src/equake.c:48: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(equakedata->sigfile, SIGFILE, strlen(SIGFILE));
data/mate-equake-applet-1.3.8.2/src/equake.c:48:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  strncat(equakedata->sigfile, SIGFILE, strlen(SIGFILE));
data/mate-equake-applet-1.3.8.2/src/equake.c:50:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(equakedata->configfile, equakedata->home, strlen(equakedata->home));
data/mate-equake-applet-1.3.8.2/src/equake.c:50:53:  [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).
  strncpy(equakedata->configfile, equakedata->home, strlen(equakedata->home));
data/mate-equake-applet-1.3.8.2/src/equake.c:51: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(equakedata->configfile, CONFIGFILE, strlen(CONFIGFILE));
data/mate-equake-applet-1.3.8.2/src/equake.c:51: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).
  strncat(equakedata->configfile, CONFIGFILE, strlen(CONFIGFILE));
data/mate-equake-applet-1.3.8.2/src/equake.c:74:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(equakedata->quakeserver, QUAKESERVER, strlen(QUAKESERVER)); /* should never change unless hostname changes */ 
data/mate-equake-applet-1.3.8.2/src/equake.c:74:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  strncpy(equakedata->quakeserver, QUAKESERVER, strlen(QUAKESERVER)); /* should never change unless hostname changes */ 
data/mate-equake-applet-1.3.8.2/src/equake.c:75:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(equakedata->quakepath_ww, QUAKEPATH_WW, strlen(QUAKEPATH_WW)); /* path to worldwide earthquakes */
data/mate-equake-applet-1.3.8.2/src/equake.c:75:51:  [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).
  strncpy(equakedata->quakepath_ww, QUAKEPATH_WW, strlen(QUAKEPATH_WW)); /* path to worldwide earthquakes */
data/mate-equake-applet-1.3.8.2/src/equake.c:76:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(equakedata->quakepath_dyfi_be, QUAKEPATH_DYFI_BE, strlen(QUAKEPATH_DYFI_BE)); /* path to did you feel it maps */
data/mate-equake-applet-1.3.8.2/src/equake.c:76:61:  [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).
  strncpy(equakedata->quakepath_dyfi_be, QUAKEPATH_DYFI_BE, strlen(QUAKEPATH_DYFI_BE)); /* path to did you feel it maps */
data/mate-equake-applet-1.3.8.2/src/equake.c:77:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(equakedata->quakepath_dyfi_af, QUAKEPATH_DYFI_AF, strlen(QUAKEPATH_DYFI_AF)); /* path to did you feel it maps */
data/mate-equake-applet-1.3.8.2/src/equake.c:77:61:  [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).
  strncpy(equakedata->quakepath_dyfi_af, QUAKEPATH_DYFI_AF, strlen(QUAKEPATH_DYFI_AF)); /* path to did you feel it maps */
data/mate-equake-applet-1.3.8.2/src/equake.c:78:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(equakedata->quakefile_hourly, QUAKEFILE_HOURLY, strlen(QUAKEFILE_HOURLY)); 
data/mate-equake-applet-1.3.8.2/src/equake.c:78:59:  [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).
  strncpy(equakedata->quakefile_hourly, QUAKEFILE_HOURLY, strlen(QUAKEFILE_HOURLY)); 
data/mate-equake-applet-1.3.8.2/src/equake.c:79:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(equakedata->quakefile_daily, QUAKEFILE_DAILY, strlen(QUAKEFILE_DAILY));
data/mate-equake-applet-1.3.8.2/src/equake.c:79:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  strncpy(equakedata->quakefile_daily, QUAKEFILE_DAILY, strlen(QUAKEFILE_DAILY));
data/mate-equake-applet-1.3.8.2/src/equake.c:80:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(equakedata->quakefile_weekly, QUAKEFILE_WEEKLY, strlen(QUAKEFILE_WEEKLY));
data/mate-equake-applet-1.3.8.2/src/equake.c:80:59:  [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).
  strncpy(equakedata->quakefile_weekly, QUAKEFILE_WEEKLY, strlen(QUAKEFILE_WEEKLY));
data/mate-equake-applet-1.3.8.2/src/equake.c:81:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(equakedata->formatstring, FORMATSTRING, strlen(FORMATSTRING));
data/mate-equake-applet-1.3.8.2/src/equake.c:81:51:  [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).
  strncpy(equakedata->formatstring, FORMATSTRING, strlen(FORMATSTRING));
data/mate-equake-applet-1.3.8.2/src/equake.c:83:50:  [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).
  equakedata->report_prev_eqid=strndup("000000", strlen("00000000"));
data/mate-equake-applet-1.3.8.2/src/equake.c:84:51:  [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).
  equakedata->sigfile_prev_eqid=strndup("000000", strlen("00000000"));
data/mate-equake-applet-1.3.8.2/src/equake.c:88:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(equakedata->portname, PORTNAME, strlen(PORTNAME));
data/mate-equake-applet-1.3.8.2/src/equake.c:88: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).
  strncpy(equakedata->portname, PORTNAME, strlen(PORTNAME));
data/mate-equake-applet-1.3.8.2/src/equake.c:137:7:  [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(buf, curlbuf, BUFFERSIZEDAILY-strlen(buf)-1);
data/mate-equake-applet-1.3.8.2/src/equake.c:137:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      strncat(buf, curlbuf, BUFFERSIZEDAILY-strlen(buf)-1);
data/mate-equake-applet-1.3.8.2/src/equake.c:140:7:  [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(buf, curlbuf, BUFFERSIZEWEEKLY-strlen(buf)-1);
data/mate-equake-applet-1.3.8.2/src/equake.c:140:46:  [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(buf, curlbuf, BUFFERSIZEWEEKLY-strlen(buf)-1);
data/mate-equake-applet-1.3.8.2/src/equake.c:143:7:  [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(buf, curlbuf, BUFFERSIZE-strlen(buf)-1);
data/mate-equake-applet-1.3.8.2/src/equake.c:143:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      strncat(buf, curlbuf, BUFFERSIZE-strlen(buf)-1);
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:891: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).
          snprintf(running, strlen(equakedata->bufferdaily), "<b>Earthquake Magnitude: %s\nDate: %s\nDate Local: %s\nLocation: %s\nLatitude: %s; Longitude: %s\nDepth: %s km\nurl: <a href=\"%s\" title=\"%s\">%s</a>\n<a href=\"%s\" title=\"Detailed Map %s\">Detailed Map %s</a></b>\n\n", equakedata->equakeformatday[n].magnitude, equakedata->equakeformatday[n].datetime, equakedata->equakeformatday[n].datetime_local, equakedata->equakeformatday[n].region, equakedata->equakeformatday[n].lat, equakedata->equakeformatday[n].lon, equakedata->equakeformatday[n].depth, url, url, url, mapurl, equakedata->equakeformatday[n].region, equakedata->equakeformatday[n].region);
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:893: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).
        snprintf(running, strlen(equakedata->bufferdaily), "Earthquake Magnitude: %s\nDate: %s\nDate Local: %s\nLocation: %s\nLatitude: %s; Longitude: %s\nDepth: %s km\nurl: <a href=\"%s\" title=\"%s\">%s</a>\n<a href=\"%s\" title=\"Detailed Map %s\">Detailed Map %s</a>\n\n", equakedata->equakeformatday[n].magnitude, equakedata->equakeformatday[n].datetime, equakedata->equakeformatday[n].datetime_local, equakedata->equakeformatday[n].region, equakedata->equakeformatday[n].lat, equakedata->equakeformatday[n].lon, equakedata->equakeformatday[n].depth, url, url, url, mapurl, equakedata->equakeformatday[n].region, equakedata->equakeformatday[n].region);
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:895:7:  [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(periodtext, running, strlen(running));
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:895: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).
      strncat(periodtext, running, strlen(running));
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:917: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).
          snprintf(running, strlen(equakedata->bufferweekly), "<b>Earthquake Magnitude: %s\nDate: %s\nDate Local: %s\nLocation: %s\nLatitude: %s; Longitude: %s\nDepth: %s km\nurl: <a href=\"%s\" title=\"%s\">%s</a>\n<a href=\"%s\" title=\"Detailed Map %s\">Detailed Map %s</a></b>\n\n", equakedata->equakeformatweek[n].magnitude, equakedata->equakeformatweek[n].datetime, equakedata->equakeformatweek[n].datetime_local, equakedata->equakeformatweek[n].region, equakedata->equakeformatweek[n].lat, equakedata->equakeformatweek[n].lon, equakedata->equakeformatweek[n].depth, url, url, url, mapurl, equakedata->equakeformatweek[n].region, equakedata->equakeformatweek[n].region);
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:919: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).
          snprintf(running, strlen(equakedata->bufferweekly), "Earthquake Magnitude: %s\nDate: %s\nDate Local: %s\nLocation: %s\nLatitude: %s; Longitude: %s\nDepth: %s km\nurl: <a href=\"%s\" title=\"%s\">%s</a>\n<a href=\"%s\" title=\"Detailed Map %s\">Detailed Map %s</a>\n\n", equakedata->equakeformatweek[n].magnitude, equakedata->equakeformatweek[n].datetime, equakedata->equakeformatweek[n].datetime_local, equakedata->equakeformatweek[n].region, equakedata->equakeformatweek[n].lat, equakedata->equakeformatweek[n].lon, equakedata->equakeformatweek[n].depth, url, url, url, mapurl, equakedata->equakeformatweek[n].region, equakedata->equakeformatweek[n].region);
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:921: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.
        strncat(periodtext, running, strlen(running));
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:921: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).
        strncat(periodtext, running, strlen(running));
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:941: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).
	  snprintf(running, strlen(equakedata->buffer), "<b>Earthquake Magnitude: %s\nDate: %s\nDate Local: %s\nLocation: %s\nLatitude: %s; Longitude: %s\nDepth: %s km\nurl: <a href=\"%s\" title=\"%s\">%s</a>\n<a href=\"%s\" title=\"Detailed Map %s\">Detailed Map %s</a></b>\n\n", equakedata->equakeformat[n].magnitude, equakedata->equakeformat[n].datetime, equakedata->equakeformat[n].datetime_local, equakedata->equakeformat[n].region, equakedata->equakeformat[n].lat, equakedata->equakeformat[n].lon, equakedata->equakeformat[n].depth, url, url, url, mapurl, equakedata->equakeformat[n].region, equakedata->equakeformat[n].region);
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:943: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).
	  snprintf(running, strlen(equakedata->buffer), "Earthquake Magnitude: %s\nDate: %s\nDate Local: %s\nLocation: %s\nLatitude: %s; Longitude: %s\nDepth: %s km\nurl: <a href=\"%s\" title=\"%s\">%s</a>\n<a href=\"%s\" title=\"Detailed Map %s\">Detailed Map %s</a>\n\n", equakedata->equakeformat[n].magnitude, equakedata->equakeformat[n].datetime, equakedata->equakeformat[n].datetime_local, equakedata->equakeformat[n].region, equakedata->equakeformat[n].lat, equakedata->equakeformat[n].lon, equakedata->equakeformat[n].depth, url, url, url, mapurl, equakedata->equakeformat[n].region, equakedata->equakeformat[n].region);
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:945: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.
        strncat(periodtext, running, strlen(running));
data/mate-equake-applet-1.3.8.2/src/equake_applet.c:945: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).
        strncat(periodtext, running, strlen(running));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:54:21:  [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(running, strlen(equakedata->bufferdaily), "%s", equakedata->bufferdaily);
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:75: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(running)) < (strlen(equakedata->formatstring)))
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:75: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).
  if ((strlen(running)) < (strlen(equakedata->formatstring)))
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:97:58:  [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).
    equakedata->equakeformatday[n].datetime=strndup(buf, strlen(buf));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:103:68:  [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).
        equakedata->equakeformatday[n].datetime_local=strndup(buf, strlen(buf));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:109:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      equakedata->equakeformatday[n].lat=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:116: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).
	equakedata->equakeformatday[n].lon=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:123: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).
	  equakedata->equakeformatday[n].depth=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:130: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).
	    equakedata->equakeformatday[n].magnitude=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:137:69:  [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).
	      equakedata->equakeformatday[n].magnitude_type=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:144:53:  [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).
		equakedata->equakeformatday[n].nst=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:151:55:  [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).
		  equakedata->equakeformatday[n].gap=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:158:58:  [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).
		    equakedata->equakeformatday[n].dmin=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:165:59:  [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).
		      equakedata->equakeformatday[n].rms=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:172:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			equakedata->equakeformatday[n].src=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:179:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			  equakedata->equakeformatday[n].eqid=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:186: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).
			    equakedata->equakeformatday[n].updated=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:197: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).
			      equakedata->equakeformatday[n].region=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:274:21:  [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(running, strlen(equakedata->bufferweekly), "%s", equakedata->bufferweekly);
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:295: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(running)) < (strlen(equakedata->formatstring)))
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:295: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).
  if ((strlen(running)) < (strlen(equakedata->formatstring)))
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:317:59:  [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).
    equakedata->equakeformatweek[n].datetime=strndup(buf, strlen(buf));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:323:69:  [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).
        equakedata->equakeformatweek[n].datetime_local=strndup(buf, strlen(buf));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:329:58:  [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).
      equakedata->equakeformatweek[n].lat=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:336:53:  [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).
	equakedata->equakeformatweek[n].lon=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:343:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  equakedata->equakeformatweek[n].depth=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:350: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).
	    equakedata->equakeformatweek[n].magnitude=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:357:70:  [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).
	      equakedata->equakeformatweek[n].magnitude_type=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:364:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		equakedata->equakeformatweek[n].nst=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:371: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).
		  equakedata->equakeformatweek[n].gap=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:378:59:  [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).
		    equakedata->equakeformatweek[n].dmin=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:385: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).
		      equakedata->equakeformatweek[n].rms=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:392:55:  [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).
			equakedata->equakeformatweek[n].src=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:399:58:  [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).
			  equakedata->equakeformatweek[n].eqid=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:406: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).
			    equakedata->equakeformatweek[n].updated=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:417:64:  [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).
			      equakedata->equakeformatweek[n].region=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:626:21:  [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(running, strlen(equakedata->buffer), "%s", equakedata->buffer);
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:647: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(running)) < (strlen(equakedata->formatstring)))
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:647: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).
  if ((strlen(running)) < (strlen(equakedata->formatstring)))
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:676:55:  [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).
    equakedata->equakeformat[n].datetime=strndup(buf, strlen(buf));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:682:65:  [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).
        equakedata->equakeformat[n].datetime_local=strndup(buf, strlen(buf));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:688:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      equakedata->equakeformat[n].lat=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:695:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	equakedata->equakeformat[n].lon=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:702:53:  [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).
	  equakedata->equakeformat[n].depth=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:709:59:  [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).
	    equakedata->equakeformat[n].magnitude=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:716:66:  [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).
	      equakedata->equakeformat[n].magnitude_type=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:723:50:  [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).
		equakedata->equakeformat[n].nst=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:730: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).
		  equakedata->equakeformat[n].gap=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:737:55:  [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).
		    equakedata->equakeformat[n].dmin=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:744:70:  [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).
                      equakedata->equakeformat[n].rms=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:751:72:  [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).
                        equakedata->equakeformat[n].src=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:758:68:  [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).
	                  equakedata->equakeformat[n].eqid=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:765:73:  [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).
	                    equakedata->equakeformat[n].updated=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:776: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).
			      equakedata->equakeformat[n].region=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:840:127:  [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 ((equakedata->equakeformat[pos].src!="") && (strncmp(equakedata->sigfile_prev_eqid, equakedata->equakeformat[pos].eqid, strlen(equakedata->equakeformat[pos].eqid))))
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:844:80:  [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).
	    equakedata->sigfile_prev_eqid=strndup(equakedata->equakeformat[pos].eqid, strlen(equakedata->equakeformat[pos].eqid));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:859:133:  [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 ((equakedata->equakeformatday[pos].src!="") && (strncmp(equakedata->sigfile_prev_eqid, equakedata->equakeformatday[pos].eqid, strlen(equakedata->equakeformatday[pos].eqid))))
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:863: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).
            equakedata->sigfile_prev_eqid=strndup(equakedata->equakeformatday[pos].eqid, strlen(equakedata->equakeformatday[pos].eqid));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:901:124:  [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 ((equakedata->equakeformat[pos].src!="") && (strncmp(equakedata->report_prev_eqid, equakedata->equakeformat[pos].eqid, strlen(equakedata->equakeformat[pos].eqid))))
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:905: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).
	  snprintf(alert, strlen(equakedata->buffer), "Earthquake Magnitude: %s\nDate: %s\nDate Local: %s\nLocation: %s\nLatitude: %s; Longitude: %s\nDepth: %s km\nurl: %s\n\n", equakedata->equakeformat[pos].magnitude, equakedata->equakeformat[pos].datetime, equakedata->equakeformat[pos].datetime_local, equakedata->equakeformat[pos].region, equakedata->equakeformat[pos].lat, equakedata->equakeformat[pos].lon, equakedata->equakeformat[pos].depth, url);
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:906:77:  [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).
	  equakedata->report_prev_eqid=strndup(equakedata->equakeformat[pos].eqid, strlen(equakedata->equakeformat[pos].eqid));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:927:137:  [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 ((equakedata->equakeformatday[pos].src!="") && (strncmp(equakedata->report_prev_eqid, equakedata->equakeformatday[pos].eqid, strlen(equakedata->equakeformatday[pos].eqid))))
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:931: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).
          snprintf(alert, strlen(equakedata->buffer), "Earthquake Magnitude: %s\nDate: %s\nDate Local: %s\nLocation: %s\nLatitude: %s; Longitude: %s\nDepth: %s km\nurl: %s\n\n", equakedata->equakeformatday[pos].magnitude, equakedata->equakeformatday[pos].datetime, equakedata->equakeformatday[pos].datetime_local, equakedata->equakeformatday[pos].region, equakedata->equakeformatday[pos].lat, equakedata->equakeformatday[pos].lon, equakedata->equakeformatday[pos].depth, url);
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:932:87:  [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).
          equakedata->report_prev_eqid=strndup(equakedata->equakeformatday[pos].eqid, strlen(equakedata->equakeformatday[pos].eqid));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:1044:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    c[0]=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:1051: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).
      c[1]=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:1057: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).
        c[2]=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:1068: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).
          c[3]=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:1074: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).
            c[4]=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:1080: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).
              c[5]=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:1086:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                c[6]=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:1092:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  c[7]=strndup(token, strlen(token));
data/mate-equake-applet-1.3.8.2/src/equake_processdata.c:1126:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  equakeformat->datetime_local=strndup(buf, strlen(buf));

ANALYSIS SUMMARY:

Hits = 166
Lines analyzed = 7527 in approximately 0.42 seconds (18012 lines/second)
Physical Source Lines of Code (SLOC) = 6477
Hits@level = [0]  54 [1] 121 [2]  43 [3]   2 [4]   0 [5]   0
Hits@level+ = [0+] 220 [1+] 166 [2+]  45 [3+]   2 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 33.9663 [1+] 25.6291 [2+] 6.94766 [3+] 0.308785 [4+]   0 [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.