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/snowdrop-0.02b/language.h
Examining data/snowdrop-0.02b/lang-c.c
Examining data/snowdrop-0.02b/lang-engf.c
Examining data/snowdrop-0.02b/lang-eng.c
Examining data/snowdrop-0.02b/snowdrop.c

FINAL RESULTS:

data/snowdrop-0.02b/lang-c.c:117:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(orig_buf,tmp);
data/snowdrop-0.02b/lang-c.c:123:55:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    while (isalnum(*now) || *now=='_') { tmp[0]=*now; strcat(orig_buf,tmp); now++; }
data/snowdrop-0.02b/lang-c.c:125:63:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    if (*now=='\'' || *now=='"' || *now=='\\') { tmp[0]=*now; strcat(orig_buf,tmp); now++; }
data/snowdrop-0.02b/lang-c.c:127:35:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    if (*now=='/') { tmp[0]=*now; strcat(orig_buf,tmp); now++; }
data/snowdrop-0.02b/lang-c.c:128:35:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    if (*now=='*') { tmp[0]=*now; strcat(orig_buf,tmp); now++; }
data/snowdrop-0.02b/lang-c.c:130:35:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    if (*now=='/') { tmp[0]=*now; strcat(orig_buf,tmp); now++; }
data/snowdrop-0.02b/lang-c.c:188:31:  [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).
      if (!change[i].implied) strcpy(misio,change[i].to); else subst=1;
data/snowdrop-0.02b/lang-c.c:231:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(water_buf,tmp);
data/snowdrop-0.02b/lang-c.c:237:55:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    while (isalnum(*now) || *now=='_') { tmp[0]=*now; strcat(water_buf,tmp); now++; }
data/snowdrop-0.02b/lang-c.c:239:49:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    if (*now=='\'' || *now=='"') { tmp[0]=*now; strcat(water_buf,tmp); now++; }
data/snowdrop-0.02b/lang-c.c:241:35:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    if (*now=='/') { tmp[0]=*now; strcat(water_buf,tmp); now++; }
data/snowdrop-0.02b/lang-c.c:242:35:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    if (*now=='*') { tmp[0]=*now; strcat(water_buf,tmp); now++; }
data/snowdrop-0.02b/lang-c.c:244:35:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    if (*now=='/') { tmp[0]=*now; strcat(water_buf,tmp); now++; }
data/snowdrop-0.02b/lang-c.c:312:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(setv,bt);
data/snowdrop-0.02b/lang-c.c:318:43:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      for (i=0;i<bc;i++) { sm[0]=orig[i]; strcat(setv,sm); foo++; }
data/snowdrop-0.02b/lang-c.c:406:17:  [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).
    if (!sc[3]) strcpy(b3,orig); else
data/snowdrop-0.02b/lang-c.c:408:7:  [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(b3,set_value(orig,i3,3));
data/snowdrop-0.02b/lang-c.c:435:19:  [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).
      if (!sc[2]) strcpy(b2,b3); else strcpy(b2,set_value(b3,i2,2));
data/snowdrop-0.02b/lang-c.c:435:39:  [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).
      if (!sc[2]) strcpy(b2,b3); else strcpy(b2,set_value(b3,i2,2));
data/snowdrop-0.02b/lang-c.c:439:21:  [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).
        if (!sc[1]) strcpy(b1,b2); else strcpy(b1,set_value(b2,i1,1));
data/snowdrop-0.02b/lang-c.c:439:41:  [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).
        if (!sc[1]) strcpy(b1,b2); else strcpy(b1,set_value(b2,i1,1));
data/snowdrop-0.02b/lang-c.c:443:23:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
          if (!sc[0]) strcpy(b0,b1); else strcpy(b0,set_value(b1,i0,0));
data/snowdrop-0.02b/lang-c.c:443:43:  [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).
          if (!sc[0]) strcpy(b0,b1); else strcpy(b0,set_value(b1,i0,0));
data/snowdrop-0.02b/lang-c.c:453:15:  [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(setval_copy,setv);
data/snowdrop-0.02b/lang-c.c:459:15:  [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(setv,setval_copy);
data/snowdrop-0.02b/lang-c.c:482: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(setval_copy,setv);
data/snowdrop-0.02b/lang-c.c:486:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(wbuf,orig);
data/snowdrop-0.02b/lang-c.c:510:7:  [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(wbuf,set_value(wbuf,0,3));
data/snowdrop-0.02b/lang-c.c:518:7:  [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(wbuf,set_value(wbuf,0,2));
data/snowdrop-0.02b/lang-c.c:524:7:  [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(wbuf,set_value(wbuf,0,1));
data/snowdrop-0.02b/lang-c.c:530:7:  [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(wbuf,set_value(wbuf,0,0));
data/snowdrop-0.02b/lang-c.c:535: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(setv,setval_copy);
data/snowdrop-0.02b/lang-eng.c:97:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(buf,getenv("SD_SYNONYMS"));
data/snowdrop-0.02b/lang-eng.c:100:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf,"%s/.snowdrop/synonyms",getenv("HOME"));
data/snowdrop-0.02b/lang-eng.c:117:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    if (sscanf(buf,"%s %c %s",w1,&c,w2)!=3)
data/snowdrop-0.02b/lang-eng.c:227: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(caps,nterm);
data/snowdrop-0.02b/lang-eng.c:311:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(orig_buf,*now==' '?" ":"\t");
data/snowdrop-0.02b/lang-eng.c:313:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(orig_buf,*now==' '?" ":"        ");
data/snowdrop-0.02b/lang-eng.c:321:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(orig_buf,sth);
data/snowdrop-0.02b/lang-eng.c:332:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(orig_buf,sth); 
data/snowdrop-0.02b/lang-eng.c:339:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(orig_buf,sth); 
data/snowdrop-0.02b/lang-eng.c:350:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(nospaced,use_quot);
data/snowdrop-0.02b/lang-eng.c:361:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(tmp,nospaced);
data/snowdrop-0.02b/lang-eng.c:362:7:  [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(orig_buf,tmp);
data/snowdrop-0.02b/lang-eng.c:397:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(water_buf,*now==' '?" ":"\t");
data/snowdrop-0.02b/lang-eng.c:405:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(water_buf,sth);
data/snowdrop-0.02b/lang-eng.c:416:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(water_buf,sth); 
data/snowdrop-0.02b/lang-eng.c:423:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(water_buf,sth); 
data/snowdrop-0.02b/lang-eng.c:567:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(setv,text);
data/snowdrop-0.02b/lang-eng.c:575:9:  [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(setv,orig);
data/snowdrop-0.02b/lang-eng.c:585:7:  [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(setv,orig);
data/snowdrop-0.02b/lang-eng.c:591:7:  [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(setv,orig);
data/snowdrop-0.02b/lang-eng.c:596:7:  [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(setv,orig);
data/snowdrop-0.02b/lang-eng.c:622:21:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      if (!value) { strcat(setv,text); return setv; }
data/snowdrop-0.02b/lang-eng.c:623:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(setv,lookup_syn_no(text,value-1));
data/snowdrop-0.02b/lang-eng.c:680:17:  [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).
    if (!sc[3]) strcpy(b3,orig); else strcpy(b3,set_value(orig,i3,3));
data/snowdrop-0.02b/lang-eng.c:680:39:  [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).
    if (!sc[3]) strcpy(b3,orig); else strcpy(b3,set_value(orig,i3,3));
data/snowdrop-0.02b/lang-eng.c:684:19:  [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).
      if (!sc[2]) strcpy(b2,b3); else strcpy(b2,set_value(b3,i2,2));
data/snowdrop-0.02b/lang-eng.c:684:39:  [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).
      if (!sc[2]) strcpy(b2,b3); else strcpy(b2,set_value(b3,i2,2));
data/snowdrop-0.02b/lang-eng.c:688:21:  [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).
        if (!sc[1]) strcpy(b1,b2); else strcpy(b1,set_value(b2,i1,1));
data/snowdrop-0.02b/lang-eng.c:688:41:  [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).
        if (!sc[1]) strcpy(b1,b2); else strcpy(b1,set_value(b2,i1,1));
data/snowdrop-0.02b/lang-eng.c:692:23:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
          if (!sc[0]) strcpy(b0,b1); else strcpy(b0,set_value(b1,i0,0));
data/snowdrop-0.02b/lang-eng.c:692:43:  [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).
          if (!sc[0]) strcpy(b0,b1); else strcpy(b0,set_value(b1,i0,0));
data/snowdrop-0.02b/lang-eng.c:709:15:  [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(setval_copy,setv);
data/snowdrop-0.02b/lang-eng.c:715:15:  [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(setv,setval_copy);
data/snowdrop-0.02b/lang-eng.c:737: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(setval_copy,setv);
data/snowdrop-0.02b/lang-eng.c:741:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(wbuf,orig);
data/snowdrop-0.02b/lang-eng.c:744:7:  [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(wbuf,set_value(wbuf,0,3));
data/snowdrop-0.02b/lang-eng.c:750:7:  [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(wbuf,set_value(wbuf,0,2));
data/snowdrop-0.02b/lang-eng.c:756:7:  [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(wbuf,set_value(wbuf,0,1));
data/snowdrop-0.02b/lang-eng.c:762:7:  [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(wbuf,set_value(wbuf,0,0));
data/snowdrop-0.02b/lang-eng.c:767: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(setv,setval_copy);
data/snowdrop-0.02b/language.h:48:29:  [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,x) + \
data/snowdrop-0.02b/language.h:52:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define debug(x...) fprintf(stderr,x)                            
data/snowdrop-0.02b/snowdrop.c:158:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buf,"%s/.snowdrop/",getenv("HOME"));
data/snowdrop-0.02b/snowdrop.c:208:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(ctim,ctime((void*)&db[i].tim));
data/snowdrop-0.02b/snowdrop.c:557:9:  [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(ctim,ctime((void*)&db[j].tim));
data/snowdrop-0.02b/snowdrop.c:596:9:  [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(ctim,ctime((void*)&db[j].tim));
data/snowdrop-0.02b/snowdrop.c:628:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buf,"%s/.snowdrop/",getenv("HOME"));
data/snowdrop-0.02b/lang-eng.c:96:7:  [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.
  if (getenv("SD_SYNONYMS")) {
data/snowdrop-0.02b/lang-eng.c:97:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    strcpy(buf,getenv("SD_SYNONYMS"));
data/snowdrop-0.02b/lang-eng.c:100:41:  [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.
    sprintf(buf,"%s/.snowdrop/synonyms",getenv("HOME"));
data/snowdrop-0.02b/snowdrop.c:158:31:  [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.
  sprintf(buf,"%s/.snowdrop/",getenv("HOME"));
data/snowdrop-0.02b/snowdrop.c:628:31:  [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.
  sprintf(buf,"%s/.snowdrop/",getenv("HOME"));
data/snowdrop-0.02b/lang-c.c:86: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 orig_buf[MAXBUF+1];
data/snowdrop-0.02b/lang-c.c:94:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp[2]={0,0};
data/snowdrop-0.02b/lang-c.c:203: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 water_buf[MAXBUF+1];
data/snowdrop-0.02b/lang-c.c:209:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp[2]={0,0};
data/snowdrop-0.02b/lang-c.c:292:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char setv[MAXBUF+1];
data/snowdrop-0.02b/lang-c.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 sm[2]={0,0};
data/snowdrop-0.02b/lang-c.c:320:22:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      if (!synced) { strcpy(foo,".implied-value-bug."); goto dontwantit; }
data/snowdrop-0.02b/lang-c.c:374:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char setval_copy[MAXBUF+1];
data/snowdrop-0.02b/lang-c.c:404: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 b3[MAXBUF+1];    
data/snowdrop-0.02b/lang-c.c:434: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 b2[MAXBUF+1];    
data/snowdrop-0.02b/lang-c.c:438: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 b1[MAXBUF+1];    
data/snowdrop-0.02b/lang-c.c:442: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 b0[MAXBUF+1];    
data/snowdrop-0.02b/lang-c.c:485: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 wbuf[MAXBUF+1];
data/snowdrop-0.02b/lang-eng.c: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 buf[MAXBUF+1];
data/snowdrop-0.02b/lang-eng.c:98:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f=fopen(buf,"r");
data/snowdrop-0.02b/lang-eng.c:101:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f=fopen(buf,"r");
data/snowdrop-0.02b/lang-eng.c:102:15:  [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 (!f) f=fopen("/usr/share/snowdrop/synonyms","r");
data/snowdrop-0.02b/lang-eng.c:103:15:  [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 (!f) f=fopen("synonyms","r");
data/snowdrop-0.02b/lang-eng.c:109: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 w1[MAXBUF], w2[MAXBUF],c;
data/snowdrop-0.02b/lang-eng.c:216:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char caps[MAXBUF+1];
data/snowdrop-0.02b/lang-eng.c:290:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char orig_buf[MAXBUF+1];
data/snowdrop-0.02b/lang-eng.c:357: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 tmp[MAXBUF+1];
data/snowdrop-0.02b/lang-eng.c:385:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char water_buf[MAXBUF+1];
data/snowdrop-0.02b/lang-eng.c:543:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char setv[MAXBUF+1];
data/snowdrop-0.02b/lang-eng.c:606:18:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
         case 0: strcat(setv,"``"); if (!just_testing) use_quot="''"; break;
data/snowdrop-0.02b/lang-eng.c:607:18:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
         case 1: strcat(setv,"''"); if (!just_testing) use_quot="''"; break;
data/snowdrop-0.02b/lang-eng.c:611:18:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
         case 5: strcat(setv,",,"); if (!just_testing) use_quot="''"; break;
data/snowdrop-0.02b/lang-eng.c:612:18:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
         case 6: strcat(setv,"\xb4"); if (!just_testing) use_quot="\xb4"; break;
data/snowdrop-0.02b/lang-eng.c:613:18:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
         case 7: strcat(setv,"\xbd"); if (!just_testing) use_quot="\xbd"; break;
data/snowdrop-0.02b/lang-eng.c:635: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 setval_copy[MAXBUF+1];
data/snowdrop-0.02b/lang-eng.c:678: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 b3[MAXBUF+1];    
data/snowdrop-0.02b/lang-eng.c:683: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 b2[MAXBUF+1];    
data/snowdrop-0.02b/lang-eng.c:687: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 b1[MAXBUF+1];    
data/snowdrop-0.02b/lang-eng.c:691: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 b0[MAXBUF+1];    
data/snowdrop-0.02b/lang-eng.c:740: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 wbuf[MAXBUF+1];
data/snowdrop-0.02b/snowdrop.c:128:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  x=open("/dev/urandom",O_RDONLY);
data/snowdrop-0.02b/snowdrop.c:132:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  x=open("/dev/urandom",O_RDONLY);
data/snowdrop-0.02b/snowdrop.c:157: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[MAXBUF];
data/snowdrop-0.02b/snowdrop.c:159:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
  strcat(buf,"database");
data/snowdrop-0.02b/snowdrop.c:160:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  foo=fopen(buf,"r");
data/snowdrop-0.02b/snowdrop.c:164: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 modname[MAXBUF],cmt[MAXBUF],rcpt[MAXBUF],fn[MAXBUF];
data/snowdrop-0.02b/snowdrop.c:207: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 ctim[100];
data/snowdrop-0.02b/snowdrop.c:258: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 ret[8];
data/snowdrop-0.02b/snowdrop.c:296:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  i=open(orig,O_RDONLY);
data/snowdrop-0.02b/snowdrop.c:307:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  i=open(mod,O_RDONLY);
data/snowdrop-0.02b/snowdrop.c:556: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 ctim[100];
data/snowdrop-0.02b/snowdrop.c:595: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 ctim[100];
data/snowdrop-0.02b/snowdrop.c:627:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/snowdrop-0.02b/snowdrop.c:630:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
  strcat(buf,"database");
data/snowdrop-0.02b/snowdrop.c:631:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  foo=fopen(buf,"a");
data/snowdrop-0.02b/snowdrop.c:646:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char capseq[MAXATOMS][4];
data/snowdrop-0.02b/snowdrop.c:661:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  i=open(orig,O_RDONLY);
data/snowdrop-0.02b/snowdrop.c:671:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  i=open(mod,O_RDWR|O_TRUNC|O_CREAT,0600);
data/snowdrop-0.02b/lang-c.c:110:20:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
  while (gotret--) strcat(orig_buf,"\n");
data/snowdrop-0.02b/lang-c.c:111:27:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
  for (i=0;i<nspaces;i++) strcat(orig_buf," ");
data/snowdrop-0.02b/lang-c.c:113:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  misio=orig_buf+strlen(orig_buf);
data/snowdrop-0.02b/lang-c.c:224:20:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
  while (gotret--) strcat(water_buf,"\n");
data/snowdrop-0.02b/lang-c.c:225:27:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
  for (i=0;i<nspaces;i++) strcat(water_buf," ");
data/snowdrop-0.02b/lang-c.c:227:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  misio=water_buf+strlen(water_buf);
data/snowdrop-0.02b/lang-c.c:311:29:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      for (i=0;i<value;i++) strcat(setv," ");
data/snowdrop-0.02b/lang-c.c:332: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).
            if (unic >= strlen(namechars)) fatal("too many variable names?");
data/snowdrop-0.02b/lang-c.c:415:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strlen(shortwater)==2) {
data/snowdrop-0.02b/lang-c.c:418:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (strlen(b3short)==3) b3short[2]=0;
data/snowdrop-0.02b/lang-c.c:419:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      } else if (strlen(shortwater)==3) {
data/snowdrop-0.02b/lang-c.c:423:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (strlen(b3short)==2 || strlen(b3short)==3) {
data/snowdrop-0.02b/lang-c.c:423: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 (strlen(b3short)==2 || strlen(b3short)==3) {
data/snowdrop-0.02b/lang-c.c:424: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).
          b3short[2]=shortwater[strlen(shortwater)-1];
data/snowdrop-0.02b/lang-eng.c:112:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (buf[strlen(buf)-1]=='\n') buf[strlen(buf)-1]=0;
data/snowdrop-0.02b/lang-eng.c:112: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).
    if (buf[strlen(buf)-1]=='\n') buf[strlen(buf)-1]=0;
data/snowdrop-0.02b/lang-eng.c:137:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for (z=0;z<strlen(w1);z++) if (isupper(w1[z])) fatal("line %d: uppercase entry (%s)",line,w1);
data/snowdrop-0.02b/lang-eng.c:138:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for (z=0;z<strlen(w2);z++) if (isupper(w2[z])) fatal("line %d: uppercase entry (%s)",line,w2);
data/snowdrop-0.02b/lang-eng.c:192:34:  [1] (buffer) strlen:
  Does not handle 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_Update(&kuku,syn[i].from,strlen(syn[i].from)+1);
data/snowdrop-0.02b/lang-eng.c:194: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).
    MD5_Update(&kuku,syn[i].to,strlen(syn[i].to)+1);
data/snowdrop-0.02b/lang-eng.c:317: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).
  nospaced=orig_buf+strlen(orig_buf);
data/snowdrop-0.02b/lang-eng.c:345: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).
  if (!*now) { if (!strlen(orig_buf)) return 0; }
data/snowdrop-0.02b/lang-eng.c:349:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int q=strlen(nospaced);
data/snowdrop-0.02b/lang-eng.c:351:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    linesofar-=strlen(nospaced)-q;
data/snowdrop-0.02b/lang-eng.c:360:34:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      for (i=0;i<indent_val;i++) strcat(tmp," ");
data/snowdrop-0.02b/lang-eng.c:372:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    linesofar+=strlen(orig_buf); 
data/snowdrop-0.02b/lang-eng.c:401: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).
  nospaced=water_buf+strlen(water_buf);
data/snowdrop-0.02b/lang-eng.c:429: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).
  if (!*now) { if (!strlen(water_buf)) return 0; }
data/snowdrop-0.02b/lang-eng.c:500: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).
        for (i=0;i<strlen(text);i++) {
data/snowdrop-0.02b/lang-eng.c:566:31:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      for (i=0;i<value+1;i++) strcat(setv," "); 
data/snowdrop-0.02b/lang-eng.c:576: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).
        i=word_cnt % strlen(text);
data/snowdrop-0.02b/lang-eng.c:586:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      for (i=0;i<strlen(setv);i++) setv[i]=value?tolower(setv[i]):toupper(setv[i]);
data/snowdrop-0.02b/lang-eng.c:604:30:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      while (orig[i]==' ') { strcat(setv," "); i++; }
data/snowdrop-0.02b/lang-eng.c:608:18:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
         case 2: strcat(setv,"'");  if (!just_testing) use_quot="'"; break;
data/snowdrop-0.02b/lang-eng.c:609:18:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
         case 3: strcat(setv,"`");  if (!just_testing) use_quot="'"; break;
data/snowdrop-0.02b/lang-eng.c:610:18:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
         case 4: strcat(setv,"\""); if (!just_testing) use_quot="\""; break;
data/snowdrop-0.02b/lang-eng.c:621:30:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      while (orig[i]==' ') { strcat(setv," "); i++; }
data/snowdrop-0.02b/snowdrop.c:130:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read(x,&r,4)!=4) fatal("cannot read from /dev/urandom");
data/snowdrop-0.02b/snowdrop.c:134:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read(x,&r2,4)!=4) fatal("cannot read from /dev/urandom");
data/snowdrop-0.02b/snowdrop.c:303:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(i,x,siz);
data/snowdrop-0.02b/snowdrop.c:314:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(i,y,siz2);
data/snowdrop-0.02b/snowdrop.c:444: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).
          if (z && strlen(text)>1) { 
data/snowdrop-0.02b/snowdrop.c:668:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(i,x,siz);
data/snowdrop-0.02b/snowdrop.c:685:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  MD5_Update(&kuku,to,sizeof(strlen(to)));
data/snowdrop-0.02b/snowdrop.c:788: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).
    if (write(i,foo,strlen(foo))<0) fatal("cannot write to file");
data/snowdrop-0.02b/snowdrop.c:789:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    writ+=strlen(foo);
data/snowdrop-0.02b/snowdrop.c:814:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  umask(0077);

ANALYSIS SUMMARY:

Hits = 184
Lines analyzed = 2306 in approximately 0.11 seconds (21651 lines/second)
Physical Source Lines of Code (SLOC) = 1622
Hits@level = [0]   2 [1]  47 [2]  53 [3]   5 [4]  79 [5]   0
Hits@level+ = [0+] 186 [1+] 184 [2+] 137 [3+]  84 [4+]  79 [5+]   0
Hits/KSLOC@level+ = [0+] 114.673 [1+] 113.44 [2+] 84.4636 [3+] 51.7879 [4+] 48.7053 [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.