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/fondu-0.0.20060102/MacFiles.h
Examining data/fondu-0.0.20060102/crctab.c
Examining data/fondu-0.0.20060102/dfont2res.c
Examining data/fondu-0.0.20060102/fondups.c
Examining data/fondu-0.0.20060102/setfondname.c
Examining data/fondu-0.0.20060102/lumper.c
Examining data/fondu-0.0.20060102/macfonts.h
Examining data/fondu-0.0.20060102/psfont.h
Examining data/fondu-0.0.20060102/readnfnt.c
Examining data/fondu-0.0.20060102/res2data.c
Examining data/fondu-0.0.20060102/showfond.c
Examining data/fondu-0.0.20060102/ufondbdf.c
Examining data/fondu-0.0.20060102/ufond.h
Examining data/fondu-0.0.20060102/ufondpfb.c
Examining data/fondu-0.0.20060102/ufondttf.c
Examining data/fondu-0.0.20060102/fondu.c
Examining data/fondu-0.0.20060102/frommacbinary.c
Examining data/fondu-0.0.20060102/tomacbinary.c
Examining data/fondu-0.0.20060102/ufond.c

FINAL RESULTS:

data/fondu-0.0.20060102/dfont2res.c:66:2:  [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(buffer,pt);
data/fondu-0.0.20060102/dfont2res.c:70:6:  [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(buffer+1,pt);
data/fondu-0.0.20060102/dfont2res.c:161:2:  [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(buffer,filename);
data/fondu-0.0.20060102/dfont2res.c:163:2:  [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(buffer,pt+1);
data/fondu-0.0.20060102/dfont2res.c:185:2:  [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(buffer,argv[i]);
data/fondu-0.0.20060102/fondu.c:71:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    exists = access(filename,F_OK)==0;
data/fondu-0.0.20060102/fondu.c:117:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if ( access(temp,F_OK)==-1 )
data/fondu-0.0.20060102/fondu.c:155:6:  [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(newfn,origfilename);
data/fondu-0.0.20060102/fondu.c:156:6:  [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(newfn + (dirend-origfilename)+1, filename);
data/fondu-0.0.20060102/fondu.c:160:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if ( access(filename,R_OK)==0 )
data/fondu-0.0.20060102/fondu.c:167:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	    if ( access(filename,R_OK)==0 )
data/fondu-0.0.20060102/fondu.c:171:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if ( access(filename,R_OK)==0 )
data/fondu-0.0.20060102/fondu.c:195:2:  [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(familyname,fond->family);
data/fondu-0.0.20060102/fondu.c:196:2:  [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(fontname,fn);
data/fondu-0.0.20060102/fondu.c:199:6:  [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(familyname,psfont->familyname);	/* Different in URW fonts */
data/fondu-0.0.20060102/fondu.c:202:6:  [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(familyname,fond->family);
data/fondu-0.0.20060102/fondu.c:204:6:  [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(familyname,fond->fondname);
data/fondu-0.0.20060102/fondu.c:207:2:  [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(fontname,familyname);
data/fondu-0.0.20060102/fondu.c:210: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(fontname,styles[i]);
data/fondu-0.0.20060102/fondu.c:212: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(namebuf,fontname);
data/fondu-0.0.20060102/fondu.c:506: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(pt,strings[ 0 ]+1);
data/fondu-0.0.20060102/fondu.c:510:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(pt,strings[ strings[format][k+1]-1 ]+1);
data/fondu-0.0.20060102/fondu.c:630:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		    sprintf(newname,"%s.pfb", pt+1 );
data/fondu-0.0.20060102/fondu.c:747: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(pt,isotf?".otf":".ttf");
data/fondu-0.0.20060102/fondu.c:755:2:  [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(buffer,patheticattempt);
data/fondu-0.0.20060102/fondu.c:947: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(respath,filename);
data/fondu-0.0.20060102/fondu.c:1172: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(buffer,filename);
data/fondu-0.0.20060102/fondu.c:1177: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(spt,pt);
data/fondu-0.0.20060102/fondu.c:1197:2:  [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(dpt,exten);
data/fondu-0.0.20060102/fondups.c:1943: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(rdtok,temptok);
data/fondu-0.0.20060102/lumper.c:508: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(respath,filename);
data/fondu-0.0.20060102/lumper.c:660: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(buffer,filename);
data/fondu-0.0.20060102/lumper.c:665: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(spt,pt);
data/fondu-0.0.20060102/lumper.c:685:2:  [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(dpt,exten);
data/fondu-0.0.20060102/lumper.c:718: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(new,pt);
data/fondu-0.0.20060102/readnfnt.c:454:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf( name, "%s-%d.bdf", resname, ass!=NULL?ass->size:font.fRectHeight );
data/fondu-0.0.20060102/readnfnt.c:459: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( name, mine->fondname );
data/fondu-0.0.20060102/readnfnt.c:462:4:  [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(name,styles[j]);
data/fondu-0.0.20060102/res2data.c:46: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(respath,filename);
data/fondu-0.0.20060102/res2data.c:54: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,pt+1);
data/fondu-0.0.20060102/res2data.c:91: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,pt+1);
data/fondu-0.0.20060102/setfondname.c:174: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(respath,filename);
data/fondu-0.0.20060102/setfondname.c:330: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(buffer,filename);
data/fondu-0.0.20060102/setfondname.c:335: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(spt,pt);
data/fondu-0.0.20060102/setfondname.c:355:2:  [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(dpt,exten);
data/fondu-0.0.20060102/showfond.c:386:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf( name, "%s-%d.bdf", resname, ass!=NULL?ass->size:font.fRectHeight );
data/fondu-0.0.20060102/showfond.c:626: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(respath,filename);
data/fondu-0.0.20060102/showfond.c:782: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(buffer,filename);
data/fondu-0.0.20060102/showfond.c:787: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(spt,pt);
data/fondu-0.0.20060102/showfond.c:807:2:  [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(dpt,exten);
data/fondu-0.0.20060102/tomacbinary.c:87: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(respath,dataname);
data/fondu-0.0.20060102/tomacbinary.c:230:2:  [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(outname,dataname);
data/fondu-0.0.20060102/tomacbinary.c:234:2:  [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(outname,resname);
data/fondu-0.0.20060102/ufond.c:613:2:  [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(buffer,pt);
data/fondu-0.0.20060102/ufond.c:617:6:  [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(buffer+1,pt);
data/fondu-0.0.20060102/ufond.c:718:2:  [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(filename,buffer);
data/fondu-0.0.20060102/ufond.c:778: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(filename,fam->familyname);
data/fondu-0.0.20060102/ufond.c:780: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(filename,output_format==of_dfont?".dfont":
data/fondu-0.0.20060102/ufondbdf.c:156:2:  [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(list[i++],buffer);
data/fondu-0.0.20060102/MacFiles.h:16:18:  [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.
typedef unsigned char Str255[256];
data/fondu-0.0.20060102/MacFiles.h:17:18:  [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.
typedef unsigned char Str63[64];
data/fondu-0.0.20060102/MacFiles.h:25:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hidden[80];
data/fondu-0.0.20060102/dfont2res.c:57:30:  [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.
    uint8 header[128], *hpt; char buffer[256], *pt, *dpt;
data/fondu-0.0.20060102/dfont2res.c:123:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(header+102,"mBIN",4);
data/fondu-0.0.20060102/dfont2res.c:140: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 buffer[1024], *pt;
data/fondu-0.0.20060102/dfont2res.c:141:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ubuf[16];
data/fondu-0.0.20060102/dfont2res.c:178: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 buffer[1024], *pt;
data/fondu-0.0.20060102/dfont2res.c:189:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	    strcpy(pt,".bin");
data/fondu-0.0.20060102/dfont2res.c:191:6:  [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(buffer,".bin");
data/fondu-0.0.20060102/dfont2res.c:192: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).
	in = fopen(argv[i],"r");
data/fondu-0.0.20060102/dfont2res.c:193:8:  [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).
	out = fopen(buffer,"w");
data/fondu-0.0.20060102/fondu.c:116:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf( temp, "fondu%04X-%d", getpid(), ++upos );
data/fondu-0.0.20060102/fondu.c:166:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	    strcpy(end,".bin");
data/fondu-0.0.20060102/fondu.c:170:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(end,".hqx");
data/fondu-0.0.20060102/fondu.c:187: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 namebuf[300];
data/fondu-0.0.20060102/fondu.c:206:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	    strcpy(familyname,"Nameless");
data/fondu-0.0.20060102/fondu.c:213:5:  [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(namebuf,".afm");
data/fondu-0.0.20060102/fondu.c:216:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    afm = fopen( namebuf,"w" );
data/fondu-0.0.20060102/fondu.c:242: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 fontname[256], familyname[256];
data/fondu-0.0.20060102/fondu.c:243: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 buffer[32];
data/fondu-0.0.20060102/fondu.c:336:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf( buffer, "char%04x", k );
data/fondu-0.0.20060102/fondu.c:359:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf( buffer, "char%04x", kp->ch1 );
data/fondu-0.0.20060102/fondu.c:366:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf( fontname, "char%04x", kp->ch2 );
data/fondu-0.0.20060102/fondu.c:393: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 name[300];
data/fondu-0.0.20060102/fondu.c:475:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    unsigned char stringoffsets[48];
data/fondu-0.0.20060102/fondu.c:533: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 name[300], newname[300];
data/fondu-0.0.20060102/fondu.c:562:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(newname+ch1,".pfb");
data/fondu-0.0.20060102/fondu.c:564:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(newname,"Untitled-%d.pfb", ++ucnt );
data/fondu-0.0.20060102/fondu.c:566:26:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    pfb = psfont!=NULL ? tmpfile() : fopen( name,"w" );
data/fondu-0.0.20060102/fondu.c:566:38:  [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).
    pfb = psfont!=NULL ? tmpfile() : fopen( name,"w" );
data/fondu-0.0.20060102/fondu.c:752: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 buffer[1024];
data/fondu-0.0.20060102/fondu.c:769: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 name[300], newname[300];
data/fondu-0.0.20060102/fondu.c:791:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	    strcpy(newname+ch1,".ttf");
data/fondu-0.0.20060102/fondu.c:793:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf(newname,"Untitled-%d.ttf", ++ucnt );
data/fondu-0.0.20060102/fondu.c:796:8:  [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).
	ttf = fopen( name,"w+" );
data/fondu-0.0.20060102/fondu.c:831:17:  [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).
    FILE *out = fopen(filename,"w");
data/fondu-0.0.20060102/fondu.c:860:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buffer[16], buffer2[16];
data/fondu-0.0.20060102/fondu.c:948:5:  [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(respath,"/rsrc");
data/fondu-0.0.20060102/fondu.c:949: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).
    temp = fopen(respath,"r");
data/fondu-0.0.20060102/fondu.c:974:12:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    temp = tmpfile();
data/fondu-0.0.20060102/fondu.c:996:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char header[128], first[8];
data/fondu-0.0.20060102/fondu.c:1049:20:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    FILE *binary = tmpfile();
data/fondu-0.0.20060102/fondu.c:1052: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 header[20], *pt;
data/fondu-0.0.20060102/fondu.c:1053: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 wrappedfilename[128];
data/fondu-0.0.20060102/fondu.c:1136:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen(filename,"r");
data/fondu-0.0.20060102/fondu.c:1165: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 buffer[1400];
data/fondu-0.0.20060102/fondu.c:1176:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(spt,"resource.frk/");
data/fondu-0.0.20060102/fondu.c:1190:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char exten[8];
data/fondu-0.0.20060102/fondups.c:75:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ret,str,n);
data/fondu-0.0.20060102/fondups.c:116:21:  [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 void copyenc(char *encoding[256],char *std[256]) {
data/fondu-0.0.20060102/fondups.c:116:41:  [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 void copyenc(char *encoding[256],char *std[256]) {
data/fondu-0.0.20060102/fondups.c:380:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static void setStdEnc(char *encoding[256]) {
data/fondu-0.0.20060102/fondups.c:384:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static void setLatin1Enc(char *encoding[256]) {
data/fondu-0.0.20060102/fondups.c:958: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 buffer[512];
data/fondu-0.0.20060102/fondups.c:1251: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 buffer[1024], *bpt, *bs, *end = buffer+sizeof(buffer)-1;
data/fondu-0.0.20060102/fondups.c:1280:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(subrs->values[index],bs,bpt-bs);
data/fondu-0.0.20060102/fondups.c:1307: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 buffer[200], *pt, *endtok;
data/fondu-0.0.20060102/fondups.c:1726: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 temp[40];
data/fondu-0.0.20060102/fondups.c:1727:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(temp,"%f", fp->fd->cidversion);
data/fondu-0.0.20060102/fondups.c:1786:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(chars->values[i],binstart,binlen);
data/fondu-0.0.20060102/fondups.c:1809:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(chars->values[i],binstart,binlen);
data/fondu-0.0.20060102/fondups.c:1862: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 temptok[255];
data/fondu-0.0.20060102/fondups.c:2021:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char zeros[EODMARKLEN+6+1];
data/fondu-0.0.20060102/fondups.c:2223: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 fontsetname[256];
data/fondu-0.0.20060102/fondups.c:2280: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 buffer[256];
data/fondu-0.0.20060102/fondups.c:2282: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 rdtok[20];
data/fondu-0.0.20060102/fondups.c:2285:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(rdtok,"RD");
data/fondu-0.0.20060102/fondups.c:2352:12:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    temp = tmpfile();
data/fondu-0.0.20060102/fondups.c:3072:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&psfont->glyphs[i],&psfont->glyphs[i+1],(psfont->glyphcnt-i)*sizeof(struct bbglyph));
data/fondu-0.0.20060102/frommacbinary.c:73:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char header[128];
data/fondu-0.0.20060102/frommacbinary.c:74: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 name[80];
data/fondu-0.0.20060102/frommacbinary.c:78: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).
    binfile = fopen(filename,"r");
data/fondu-0.0.20060102/frommacbinary.c:101:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	    strcpy(name+header[1],".data");
data/fondu-0.0.20060102/frommacbinary.c:102:17:  [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).
	    datafile = fopen(name,"w");
data/fondu-0.0.20060102/frommacbinary.c:114:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	    strcpy(name+header[1],".rsrc");
data/fondu-0.0.20060102/frommacbinary.c:115:16:  [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).
	    resfile = fopen(name,"w");
data/fondu-0.0.20060102/frommacbinary.c:125:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(name+header[1],".info");
data/fondu-0.0.20060102/frommacbinary.c:126:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	infofile = fopen(name,"w");
data/fondu-0.0.20060102/frommacbinary.c:151:17:  [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).
	    datafile = fopen(name,"w");
data/fondu-0.0.20060102/frommacbinary.c:161:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		    strcpy(name+header[1],"/rsrc");
data/fondu-0.0.20060102/frommacbinary.c:162:17:  [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).
		    resfile = fopen(name,"w");
data/fondu-0.0.20060102/frommacbinary.c:198:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen( name,"w");
data/fondu-0.0.20060102/lumper.c:411:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buffer[16], buffer2[16];
data/fondu-0.0.20060102/lumper.c:509:5:  [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(respath,"/rsrc");
data/fondu-0.0.20060102/lumper.c:510: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).
    temp = fopen(respath,"r");
data/fondu-0.0.20060102/lumper.c:518:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char header[128];
data/fondu-0.0.20060102/lumper.c:555:20:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    FILE *binary = tmpfile();
data/fondu-0.0.20060102/lumper.c:558: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 header[20], *pt;
data/fondu-0.0.20060102/lumper.c:625:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen(filename,"r");
data/fondu-0.0.20060102/lumper.c:653: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 buffer[1400];
data/fondu-0.0.20060102/lumper.c:664:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(spt,"resource.frk/");
data/fondu-0.0.20060102/lumper.c:678:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char exten[8];
data/fondu-0.0.20060102/lumper.c:699:21:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    FILE *restemp = tmpfile(), *real;
data/fondu-0.0.20060102/lumper.c:719:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(new+(dot-pt),".dfont");
data/fondu-0.0.20060102/lumper.c:721: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).
    real = fopen(new,"w");
data/fondu-0.0.20060102/macfonts.h:61: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 *psnames[48];
data/fondu-0.0.20060102/psfont.h:127: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 *encoding[256];
data/fondu-0.0.20060102/psfont.h:191: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.
extern char *AdobeStandardEncoding[256];
data/fondu-0.0.20060102/readnfnt.c:253: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 buffer[80], *pt=buffer;
data/fondu-0.0.20060102/readnfnt.c:410: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 resname[256], name[300];
data/fondu-0.0.20060102/readnfnt.c:457:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf( name, "Untitled%d-%d.bdf", ++ucnt, ass->size );
data/fondu-0.0.20060102/readnfnt.c:463:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf( name+strlen(name), "-%d.bdf", ass->size );
data/fondu-0.0.20060102/readnfnt.c:466:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf(name,"Untitled%d-%d.bdf", ++ucnt, font.fRectHeight );
data/fondu-0.0.20060102/readnfnt.c:473: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).
	    bdf = fopen( name,"w+" );
data/fondu-0.0.20060102/res2data.c:47:5:  [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(respath,"/rsrc");
data/fondu-0.0.20060102/res2data.c:48:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    res = fopen(respath,"r");
data/fondu-0.0.20060102/res2data.c:55:5:  [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,".res");
data/fondu-0.0.20060102/res2data.c:56: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).
    temp = fopen(buf,"w");
data/fondu-0.0.20060102/res2data.c:92:5:  [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,".res");
data/fondu-0.0.20060102/res2data.c:93: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).
    temp = fopen(buf,"w");
data/fondu-0.0.20060102/setfondname.c:124:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buffer[16], buffer2[16];
data/fondu-0.0.20060102/setfondname.c:175:5:  [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(respath,"/rsrc");
data/fondu-0.0.20060102/setfondname.c:176: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).
    temp = fopen(respath,"r+");
data/fondu-0.0.20060102/setfondname.c:186:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char header[128];
data/fondu-0.0.20060102/setfondname.c:223:20:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    FILE *binary = tmpfile();
data/fondu-0.0.20060102/setfondname.c:226: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 header[20], *pt;
data/fondu-0.0.20060102/setfondname.c:294:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen(filename,"r+");
data/fondu-0.0.20060102/setfondname.c:323: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 buffer[1400];
data/fondu-0.0.20060102/setfondname.c:334:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(spt,"resource.frk/");
data/fondu-0.0.20060102/setfondname.c:348:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char exten[8];
data/fondu-0.0.20060102/showfond.c:69: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 name[300];
data/fondu-0.0.20060102/showfond.c:348: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 resname[256], name[300];
data/fondu-0.0.20060102/showfond.c:528: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 buffer[200];
data/fondu-0.0.20060102/showfond.c:556:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buffer[16], buffer2[16];
data/fondu-0.0.20060102/showfond.c:627:5:  [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(respath,"/rsrc");
data/fondu-0.0.20060102/showfond.c:628: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).
    temp = fopen(respath,"r");
data/fondu-0.0.20060102/showfond.c:638:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char header[128];
data/fondu-0.0.20060102/showfond.c:675:20:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    FILE *binary = tmpfile();
data/fondu-0.0.20060102/showfond.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 header[20], *pt;
data/fondu-0.0.20060102/showfond.c:746:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen(filename,"r");
data/fondu-0.0.20060102/showfond.c:775: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 buffer[1400];
data/fondu-0.0.20060102/showfond.c:786:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(spt,"resource.frk/");
data/fondu-0.0.20060102/showfond.c:800:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char exten[8];
data/fondu-0.0.20060102/tomacbinary.c:88:5:  [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(respath,"/rsrc");
data/fondu-0.0.20060102/tomacbinary.c:89: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).
    temp = fopen(respath,"r");
data/fondu-0.0.20060102/tomacbinary.c:109:12:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    temp = tmpfile();
data/fondu-0.0.20060102/tomacbinary.c:132: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.
    static char cbuf[5], tbuf[5];
data/fondu-0.0.20060102/tomacbinary.c:157: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.
    static char cbuf[5], tbuf[5];
data/fondu-0.0.20060102/tomacbinary.c:187: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.
    static char tbuf[5];
data/fondu-0.0.20060102/tomacbinary.c:194:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	    strcpy(tbuf,"TEXT");
data/fondu-0.0.20060102/tomacbinary.c:204:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char header[128], *hpt; char *pt, *ept;
data/fondu-0.0.20060102/tomacbinary.c:212:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	datafile = fopen(dataname,"r");
data/fondu-0.0.20060102/tomacbinary.c:220: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).
	resfile = fopen(resname,"r");
data/fondu-0.0.20060102/tomacbinary.c:231:2:  [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(outname,".bin");
data/fondu-0.0.20060102/tomacbinary.c:235:2:  [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(outname,".bin");
data/fondu-0.0.20060102/tomacbinary.c:237: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).
    outfile = fopen(outname,"w");
data/fondu-0.0.20060102/tomacbinary.c:305:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(header+102,"mBIN",4);
data/fondu-0.0.20060102/ufond.c:604:30:  [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.
    uint8 header[128], *hpt; char buffer[256], *pt, *dpt;
data/fondu-0.0.20060102/ufond.c:670:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(header+102,"mBIN",4);
data/fondu-0.0.20060102/ufond.c:702: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 buffer[63], *pt, *spt, *lcpt=NULL;
data/fondu-0.0.20060102/ufond.c:703: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 filename[63], *fpt;
data/fondu-0.0.20060102/ufond.c:720:2:  [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(filename,".bin");
data/fondu-0.0.20060102/ufond.c:721:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    res = fopen(filename,"w+");
data/fondu-0.0.20060102/ufond.c:761: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 filename[256];
data/fondu-0.0.20060102/ufond.c:779:5:  [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(filename,".fam");
data/fondu-0.0.20060102/ufond.c:783:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    res = fopen(filename,"w");
data/fondu-0.0.20060102/ufondbdf.c:48:17:  [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).
    FILE *bdf = fopen( face->filename, "r" );
data/fondu-0.0.20060102/ufondbdf.c:49: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 buffer[512];
data/fondu-0.0.20060102/ufondbdf.c:178:21:  [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).
    FILE *bdffile = fopen(face->filename,"r");
data/fondu-0.0.20060102/ufondbdf.c:180: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 buffer[MAX_WIDTH+1];
data/fondu-0.0.20060102/ufondpfb.c:49:16:  [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).
    FILE *pf = fopen( face->filename, "r" );
data/fondu-0.0.20060102/ufondpfb.c:50: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 buffer[512];
data/fondu-0.0.20060102/ufondpfb.c:142:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    pf = fopen(face->filename,"r");
data/fondu-0.0.20060102/ufondttf.c:92:17:  [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).
    FILE *ttf = fopen( face->filename, "r" );
data/fondu-0.0.20060102/ufondttf.c:272:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    ttf = fopen(face->filename,"r");
data/fondu-0.0.20060102/dfont2res.c:82:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    *hpt++ = strlen( pt );
data/fondu-0.0.20060102/fondu.c:42:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch1 = getc(f);
data/fondu-0.0.20060102/fondu.c:43:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch2 = getc(f);
data/fondu-0.0.20060102/fondu.c:50:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch1 = getc(f);
data/fondu-0.0.20060102/fondu.c:51:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch2 = getc(f);
data/fondu-0.0.20060102/fondu.c:52:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch3 = getc(f);
data/fondu-0.0.20060102/fondu.c:53:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch4 = getc(f);
data/fondu-0.0.20060102/fondu.c:80:7:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch = getchar();
data/fondu-0.0.20060102/fondu.c:92:16:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		while ( (ch2=getchar())!='\n' && ch2!=EOF );
data/fondu-0.0.20060102/fondu.c:95:29:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    for ( pt=filename; (ch=getchar())!=EOF && ch!='\n'; )
data/fondu-0.0.20060102/fondu.c:154: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).
	    char *newfn = malloc(strlen(filename)+strlen(origfilename)+1);
data/fondu-0.0.20060102/fondu.c:154:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    char *newfn = malloc(strlen(filename)+strlen(origfilename)+1);
data/fondu-0.0.20060102/fondu.c:164: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).
	    filename = realloc(filename,strlen(filename)+10);
data/fondu-0.0.20060102/fondu.c:165: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).
	    end = filename+strlen(filename);
data/fondu-0.0.20060102/fondu.c:403:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	/* flags = */ getc(f);
data/fondu-0.0.20060102/fondu.c:404:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch1 = getc(f); ch2 = getc(f);
data/fondu-0.0.20060102/fondu.c:404:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch1 = getc(f); ch2 = getc(f);
data/fondu-0.0.20060102/fondu.c:405:41:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	offset = rdata_pos+((ch1<<16)|(ch2<<8)|getc(f));
data/fondu-0.0.20060102/fondu.c:415:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    ch1 = getc(f);
data/fondu-0.0.20060102/fondu.c:468:41:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    cur->stylekerns[j].kerns[k].ch1 = getc(f);
data/fondu-0.0.20060102/fondu.c:469:41:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    cur->stylekerns[j].kerns[k].ch2 = getc(f);
data/fondu-0.0.20060102/fondu.c:483:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		stringoffsets[j] = getc(f);
data/fondu-0.0.20060102/fondu.c:487:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		strlength = getc(f);
data/fondu-0.0.20060102/fondu.c:492:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    strings[j][k+1] = getc(f);
data/fondu-0.0.20060102/fondu.c:551:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	/* flags = */ getc(f);
data/fondu-0.0.20060102/fondu.c:552:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch1 = getc(f); ch2 = getc(f);
data/fondu-0.0.20060102/fondu.c:552:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch1 = getc(f); ch2 = getc(f);
data/fondu-0.0.20060102/fondu.c:553:45:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	offsets[i] = rdata_pos+((ch1<<16)|(ch2<<8)|getc(f));
data/fondu-0.0.20060102/fondu.c:560:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch1 = getc(f);
data/fondu-0.0.20060102/fondu.c:585:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch1 = getc(f); ch2 = getc(f);
data/fondu-0.0.20060102/fondu.c:585:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch1 = getc(f); ch2 = getc(f);
data/fondu-0.0.20060102/fondu.c:625:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		pt += strlen("/FontName");
data/fondu-0.0.20060102/fondu.c:733:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    ch = getc(ttf);
data/fondu-0.0.20060102/fondu.c:740:37:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    /* Ignore high unicode byte */ getc(ttf)/*<<8*/;
data/fondu-0.0.20060102/fondu.c:741:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    ch = getc(ttf);
data/fondu-0.0.20060102/fondu.c:782:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	/* flags = */ getc(f);
data/fondu-0.0.20060102/fondu.c:783:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch1 = getc(f); ch2 = getc(f);
data/fondu-0.0.20060102/fondu.c:783:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch1 = getc(f); ch2 = getc(f);
data/fondu-0.0.20060102/fondu.c:784:39:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	roff = rdata_pos+((ch1<<16)|(ch2<<8)|getc(f));
data/fondu-0.0.20060102/fondu.c:789:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    ch1 = getc(f);
data/fondu-0.0.20060102/fondu.c:943: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).
    char *respath = malloc(strlen(filename)+strlen("/rsrc")+1);
data/fondu-0.0.20060102/fondu.c:943: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).
    char *respath = malloc(strlen(filename)+strlen("/rsrc")+1);
data/fondu-0.0.20060102/fondu.c:1061:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( (ch=getc(f))!=':' );	/* There may be comments before file start */
data/fondu-0.0.20060102/fondu.c:1063:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( (ch=getc(f))!=':' ) {
data/fondu-0.0.20060102/fondu.c:1095:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ch = getc(binary);	/* Name length */
data/fondu-0.0.20060102/fondu.c:1098:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	*pt++ = getc(binary);
data/fondu-0.0.20060102/fondu.c:1100:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( getc(binary)!='\0' ) {
data/fondu-0.0.20060102/fondu.c:1188: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).
    if ( dpt==NULL ) dpt = spt+strlen(spt);
data/fondu-0.0.20060102/fondu.c:1189:23:  [1] (buffer) strlen:
  Does not handle 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 ( dpt-spt>8 || strlen(dpt)>4 ) {
data/fondu-0.0.20060102/fondu.c:1191:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(exten,dpt,7);
data/fondu-0.0.20060102/fondups.c:938:52:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for ( pt = str, end = str+len-1; pt<end && (ch=getc(file))!=EOF && ch!='\r' && ch!='\n';
data/fondu-0.0.20060102/fondups.c:944:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ((ch=getc(file))!='\n' )
data/fondu-0.0.20060102/fondups.c:983:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(ret+len-1,start,end-start);
data/fondu-0.0.20060102/fondups.c:1004:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(ret,start,end-start);
data/fondu-0.0.20060102/fondups.c:1170:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    pt = line+strlen(line)-1;
data/fondu-0.0.20060102/fondups.c:1290: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(pt)>5 ) {
data/fondu-0.0.20060102/fondups.c:1867:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ch = getc(temp);
data/fondu-0.0.20060102/fondups.c:1880:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( (ch=getc(temp))!=EOF ) {
data/fondu-0.0.20060102/fondups.c:1977:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ch = getc(temp);
data/fondu-0.0.20060102/fondups.c:1990:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    ch = getc(temp);
data/fondu-0.0.20060102/fondups.c:2016:43:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define bgetc(extra,in)	(*(extra)=='\0' ? getc(in) : (unsigned char ) *(extra)++ )
data/fondu-0.0.20060102/fondups.c:2127:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    *pt++ = getc(temp);
data/fondu-0.0.20060102/fondups.c:2130:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    cypher = getc(temp);
data/fondu-0.0.20060102/fondups.c:2136:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    cypher = getc(temp);
data/fondu-0.0.20060102/fondups.c:2162:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    val = (val<<8) + getc(temp);
data/fondu-0.0.20060102/fondups.c:2165:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    val = (val<<8) + getc(temp);
data/fondu-0.0.20060102/fondups.c:2201:24:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    val = (val<<8) + getc(temp);
data/fondu-0.0.20060102/fondups.c:2225:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( (ch=getc(in))!='(' && ch!='/' && ch!=EOF );
data/fondu-0.0.20060102/fondups.c:2230:28:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	for ( pt=fontsetname; (ch=getc(in))!=' ' && ch!=EOF; )
data/fondu-0.0.20060102/fondups.c:2235:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ( (ch=getc(in))=='B' || ch=='b' ) binary = true;
data/fondu-0.0.20060102/fondups.c:2243:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( (ch=getc(in))!=')' && ch!=EOF );
data/fondu-0.0.20060102/fondups.c:2249:24:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( isspace(ch=getc(in)) );
data/fondu-0.0.20060102/fondups.c:2252:2:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	getc(in);			/* And if it didn't match, what could I do about it? */
data/fondu-0.0.20060102/fondups.c:2255:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    ch = getc(in);
data/fondu-0.0.20060102/fondups.c:2262:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    while ( isspace(ch=getc(in)) );
data/fondu-0.0.20060102/fondups.c:2263:26:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    while ( isspace(ch2=getc(in)) );
data/fondu-0.0.20060102/fondups.c:2268:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ( (ch=getc(in))!='>' ) ungetc(ch,in);
data/fondu-0.0.20060102/frommacbinary.c:90:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(name,(char *) header+2,header[1]);
data/fondu-0.0.20060102/frommacbinary.c:106:28:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		for ( i=0; i<dlen && (ch=getc(binfile))!=EOF; ++i )
data/fondu-0.0.20060102/frommacbinary.c:119:28:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		for ( i=0; i<rlen && (ch=getc(binfile))!=EOF; ++i )
data/fondu-0.0.20060102/frommacbinary.c:155:28:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		for ( i=0; i<dlen && (ch=getc(binfile))!=EOF; ++i )
data/fondu-0.0.20060102/frommacbinary.c:166:29:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			for ( i=0; i<rlen && (ch=getc(binfile))!=EOF; ++i )
data/fondu-0.0.20060102/frommacbinary.c:204:31:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    for ( i=0; i<dlen && (ch=getc(binfile))!=EOF; ++i )
data/fondu-0.0.20060102/lumper.c:117:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch1 = getc(f);
data/fondu-0.0.20060102/lumper.c:118:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch2 = getc(f);
data/fondu-0.0.20060102/lumper.c:125:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch1 = getc(f);
data/fondu-0.0.20060102/lumper.c:126:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch2 = getc(f);
data/fondu-0.0.20060102/lumper.c:127:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch3 = getc(f);
data/fondu-0.0.20060102/lumper.c:128:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch4 = getc(f);
data/fondu-0.0.20060102/lumper.c:199: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).
		putc(strlen(rcur->name),res);	/* Length */
data/fondu-0.0.20060102/lumper.c:200:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		fwrite(rcur->name,1,strlen(rcur->name),res);
data/fondu-0.0.20060102/lumper.c:257:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch = getc(rcur->srcf);
data/fondu-0.0.20060102/lumper.c:468:20:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    rcur->flags = getc(f);
data/fondu-0.0.20060102/lumper.c:469:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    ch1 = getc(f); ch2=getc(f);
data/fondu-0.0.20060102/lumper.c:469:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    ch1 = getc(f); ch2=getc(f);
data/fondu-0.0.20060102/lumper.c:470:54:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    rcur->src_off = rdata_pos + ((ch1<<16)|(ch2<<8)|getc(f));
data/fondu-0.0.20060102/lumper.c:486:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ch1 = getc(f);
data/fondu-0.0.20060102/lumper.c:504: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).
    char *respath = malloc(strlen(filename)+strlen("/rsrc")+1);
data/fondu-0.0.20060102/lumper.c:504: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).
    char *respath = malloc(strlen(filename)+strlen("/rsrc")+1);
data/fondu-0.0.20060102/lumper.c:566:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( (ch=getc(f))!=':' );	/* There may be comments before file start */
data/fondu-0.0.20060102/lumper.c:568:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( (ch=getc(f))!=':' ) {
data/fondu-0.0.20060102/lumper.c:600:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ch = getc(binary);	/* Name length */
data/fondu-0.0.20060102/lumper.c:603:2:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	getc(binary);
data/fondu-0.0.20060102/lumper.c:604:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( getc(binary)!='\0' ) {
data/fondu-0.0.20060102/lumper.c:676: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).
    if ( dpt==NULL ) dpt = spt+strlen(spt);
data/fondu-0.0.20060102/lumper.c:677:23:  [1] (buffer) strlen:
  Does not handle 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 ( dpt-spt>8 || strlen(dpt)>4 ) {
data/fondu-0.0.20060102/lumper.c:679:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(exten,dpt,7);
data/fondu-0.0.20060102/lumper.c:694:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( (ch=getc(from))!=EOF )
data/fondu-0.0.20060102/lumper.c:716: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).
    if ( dot==NULL ) dot = pt+strlen(pt);
data/fondu-0.0.20060102/lumper.c:717: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).
    new = malloc(strlen(pt)+strlen(".dfont")+2);
data/fondu-0.0.20060102/lumper.c:717: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).
    new = malloc(strlen(pt)+strlen(".dfont")+2);
data/fondu-0.0.20060102/readnfnt.c:424:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	/* flags = */ getc(f);
data/fondu-0.0.20060102/readnfnt.c:425:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch1 = getc(f); ch2 = getc(f);
data/fondu-0.0.20060102/readnfnt.c:425:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch1 = getc(f); ch2 = getc(f);
data/fondu-0.0.20060102/readnfnt.c:426:39:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	roff = rdata_pos+((ch1<<16)|(ch2<<8)|getc(f));
data/fondu-0.0.20060102/readnfnt.c:451:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    ch1 = getc(f);
data/fondu-0.0.20060102/readnfnt.c:463:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		sprintf( name+strlen(name), "-%d.bdf", ass->size );
data/fondu-0.0.20060102/res2data.c:45: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).
    respath = malloc(strlen(filename)+strlen("/rsrc")+1);
data/fondu-0.0.20060102/res2data.c:45: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).
    respath = malloc(strlen(filename)+strlen("/rsrc")+1);
data/fondu-0.0.20060102/res2data.c:51: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).
    buf = malloc(strlen(filename)+strlen(".res")+20);
data/fondu-0.0.20060102/res2data.c:51: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).
    buf = malloc(strlen(filename)+strlen(".res")+20);
data/fondu-0.0.20060102/res2data.c:88: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).
    buf = malloc(strlen(filename)+strlen(".res")+20);
data/fondu-0.0.20060102/res2data.c:88: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).
    buf = malloc(strlen(filename)+strlen(".res")+20);
data/fondu-0.0.20060102/setfondname.c:39:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch1 = getc(f);
data/fondu-0.0.20060102/setfondname.c:40:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch2 = getc(f);
data/fondu-0.0.20060102/setfondname.c:47:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch1 = getc(f);
data/fondu-0.0.20060102/setfondname.c:48:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch2 = getc(f);
data/fondu-0.0.20060102/setfondname.c:49:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch3 = getc(f);
data/fondu-0.0.20060102/setfondname.c:50:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch4 = getc(f);
data/fondu-0.0.20060102/setfondname.c:102: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).
	    putc(strlen(newname),f);
data/fondu-0.0.20060102/setfondname.c:111:2:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	getc(f); getc(f); getc(f);
data/fondu-0.0.20060102/setfondname.c:111:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	getc(f); getc(f); getc(f);
data/fondu-0.0.20060102/setfondname.c:111:20:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	getc(f); getc(f); getc(f);
data/fondu-0.0.20060102/setfondname.c:170: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).
    char *respath = malloc(strlen(filename)+strlen("/rsrc")+1);
data/fondu-0.0.20060102/setfondname.c:170: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).
    char *respath = malloc(strlen(filename)+strlen("/rsrc")+1);
data/fondu-0.0.20060102/setfondname.c:234:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( (ch=getc(f))!=':' );	/* There may be comments before file start */
data/fondu-0.0.20060102/setfondname.c:236:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( (ch=getc(f))!=':' ) {
data/fondu-0.0.20060102/setfondname.c:268:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ch = getc(binary);	/* Name length */
data/fondu-0.0.20060102/setfondname.c:271:2:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	getc(binary);
data/fondu-0.0.20060102/setfondname.c:272:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( getc(binary)!='\0' ) {
data/fondu-0.0.20060102/setfondname.c:346: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).
    if ( dpt==NULL ) dpt = spt+strlen(spt);
data/fondu-0.0.20060102/setfondname.c:347:23:  [1] (buffer) strlen:
  Does not handle 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 ( dpt-spt>8 || strlen(dpt)>4 ) {
data/fondu-0.0.20060102/setfondname.c:349:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(exten,dpt,7);
data/fondu-0.0.20060102/showfond.c:39:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch1 = getc(f);
data/fondu-0.0.20060102/showfond.c:40:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch2 = getc(f);
data/fondu-0.0.20060102/showfond.c:47:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch1 = getc(f);
data/fondu-0.0.20060102/showfond.c:48:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch2 = getc(f);
data/fondu-0.0.20060102/showfond.c:49:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch3 = getc(f);
data/fondu-0.0.20060102/showfond.c:50:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch4 = getc(f);
data/fondu-0.0.20060102/showfond.c:83:34:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	printf( " resource flags=%x\n", getc(f));
data/fondu-0.0.20060102/showfond.c:84:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch1 = getc(f); ch2 = getc(f);
data/fondu-0.0.20060102/showfond.c:84:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch1 = getc(f); ch2 = getc(f);
data/fondu-0.0.20060102/showfond.c:85:41:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	offset = rdata_pos+((ch1<<16)|(ch2<<8)|getc(f));
data/fondu-0.0.20060102/showfond.c:92:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    ch1 = getc(f);
data/fondu-0.0.20060102/showfond.c:203:41:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    cur->stylekerns[j].kerns[k].ch1 = getc(f);
data/fondu-0.0.20060102/showfond.c:204:41:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    cur->stylekerns[j].kerns[k].ch2 = getc(f);
data/fondu-0.0.20060102/showfond.c:226:38:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    printf( "Plain index is: %d\n", getc(f));
data/fondu-0.0.20060102/showfond.c:227:37:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    printf( "Bold index is: %d\n", getc(f));
data/fondu-0.0.20060102/showfond.c:228:39:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    printf( "Italic index is: %d\n", getc(f));
data/fondu-0.0.20060102/showfond.c:230:3:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		getc(f);
data/fondu-0.0.20060102/showfond.c:232:34:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    /* basename length = */ k = getc(f);
data/fondu-0.0.20060102/showfond.c:235:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		putchar(getc(f));
data/fondu-0.0.20060102/showfond.c:238:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		k = getc(f);
data/fondu-0.0.20060102/showfond.c:241:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    ch = getc(f);
data/fondu-0.0.20060102/showfond.c:245:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			    printf( "%d,", getc(f));
data/fondu-0.0.20060102/showfond.c:249:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			    putchar(getc(f));
data/fondu-0.0.20060102/showfond.c:265:45:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    printf( "  Map encoding 0x%02x to '", getc(f));
data/fondu-0.0.20060102/showfond.c:266:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    k = getc(f);
data/fondu-0.0.20060102/showfond.c:268:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			putchar(getc(f));
data/fondu-0.0.20060102/showfond.c:364:34:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	printf( " resource flags=%x\n", getc(f));
data/fondu-0.0.20060102/showfond.c:365:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch1 = getc(f); ch2 = getc(f);
data/fondu-0.0.20060102/showfond.c:365:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch1 = getc(f); ch2 = getc(f);
data/fondu-0.0.20060102/showfond.c:366:39:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	roff = rdata_pos+((ch1<<16)|(ch2<<8)|getc(f));
data/fondu-0.0.20060102/showfond.c:383:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    ch1 = getc(f);
data/fondu-0.0.20060102/showfond.c:423:34:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	printf( " resource flags=%x\n", getc(f));
data/fondu-0.0.20060102/showfond.c:424:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch1 = getc(f); ch2 = getc(f);
data/fondu-0.0.20060102/showfond.c:424:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch1 = getc(f); ch2 = getc(f);
data/fondu-0.0.20060102/showfond.c:425:59:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	/*offsets[i] = rdata_pos+((ch1<<16)|(ch2<<8)|getc(f));*/ getc(f);
data/fondu-0.0.20060102/showfond.c:502:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    ch = getc(ttf);
data/fondu-0.0.20060102/showfond.c:509:37:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    /* Ignore high unicode byte */ getc(ttf)/*<<8*/;
data/fondu-0.0.20060102/showfond.c:510:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    ch = getc(ttf);
data/fondu-0.0.20060102/showfond.c:538:34:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	printf( " resource flags=%x\n", getc(f));
data/fondu-0.0.20060102/showfond.c:539:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch1 = getc(f); ch2 = getc(f);
data/fondu-0.0.20060102/showfond.c:539:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch1 = getc(f); ch2 = getc(f);
data/fondu-0.0.20060102/showfond.c:540:39:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	roff = rdata_pos+((ch1<<16)|(ch2<<8)|getc(f));
data/fondu-0.0.20060102/showfond.c:622: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).
    char *respath = malloc(strlen(filename)+strlen("/rsrc")+1);
data/fondu-0.0.20060102/showfond.c:622: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).
    char *respath = malloc(strlen(filename)+strlen("/rsrc")+1);
data/fondu-0.0.20060102/showfond.c:686:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( (ch=getc(f))!=':' );	/* There may be comments before file start */
data/fondu-0.0.20060102/showfond.c:688:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( (ch=getc(f))!=':' ) {
data/fondu-0.0.20060102/showfond.c:720:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ch = getc(binary);	/* Name length */
data/fondu-0.0.20060102/showfond.c:723:2:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	getc(binary);
data/fondu-0.0.20060102/showfond.c:724:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( getc(binary)!='\0' ) {
data/fondu-0.0.20060102/showfond.c:798: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).
    if ( dpt==NULL ) dpt = spt+strlen(spt);
data/fondu-0.0.20060102/showfond.c:799:23:  [1] (buffer) strlen:
  Does not handle 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 ( dpt-spt>8 || strlen(dpt)>4 ) {
data/fondu-0.0.20060102/showfond.c:801:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(exten,dpt,7);
data/fondu-0.0.20060102/tomacbinary.c:84: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).
    char *respath = malloc(strlen(dataname)+strlen("/rsrc")+1);
data/fondu-0.0.20060102/tomacbinary.c:84: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).
    char *respath = malloc(strlen(dataname)+strlen("/rsrc")+1);
data/fondu-0.0.20060102/tomacbinary.c:188:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = strlen(dataname);
data/fondu-0.0.20060102/tomacbinary.c:229: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).
	outname = malloc(strlen(dataname)+30);
data/fondu-0.0.20060102/tomacbinary.c:233: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).
	outname = malloc(strlen(resname)+30);
data/fondu-0.0.20060102/tomacbinary.c:252:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ept = pt+strlen(pt);
data/fondu-0.0.20060102/tomacbinary.c:318:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ( (ch=getc(datafile))!=EOF )
data/fondu-0.0.20060102/tomacbinary.c:325:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ( (ch=getc(resfile))!=EOF )
data/fondu-0.0.20060102/tomacbinary.c:352: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(argv[i+1])!=4 ) {
data/fondu-0.0.20060102/tomacbinary.c:363: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(argv[i+1])!=4 ) {
data/fondu-0.0.20060102/ufond.c:53:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch1 = getc(f);
data/fondu-0.0.20060102/ufond.c:54:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch2 = getc(f);
data/fondu-0.0.20060102/ufond.c:61:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch1 = getc(f);
data/fondu-0.0.20060102/ufond.c:62:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch2 = getc(f);
data/fondu-0.0.20060102/ufond.c:63:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch3 = getc(f);
data/fondu-0.0.20060102/ufond.c:64:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch4 = getc(f);
data/fondu-0.0.20060102/ufond.c:290:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    putc(strlen(fontname),res);
data/fondu-0.0.20060102/ufond.c:413: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).
	if ( strncmp(fam->psfaces[i]->fontname,fam->familyname,strlen(fam->familyname))!=0 )
data/fondu-0.0.20060102/ufond.c:451: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).
		putpsstring(res,fam->psfaces[i]->fontname+strlen(family));
data/fondu-0.0.20060102/ufond.c:536: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).
		putc(strlen(rtypes[i].res[j].name),res);	/* Length */
data/fondu-0.0.20060102/ufond.c:537: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).
		fwrite(rtypes[i].res[j].name,1,strlen(rtypes[i].res[j].name),res);
data/fondu-0.0.20060102/ufond.c:629:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    *hpt++ = strlen( pt );
data/fondu-0.0.20060102/ufondpfb.c:38:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch1 = getc(f);
data/fondu-0.0.20060102/ufondpfb.c:39:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch2 = getc(f);
data/fondu-0.0.20060102/ufondpfb.c:40:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch3 = getc(f);
data/fondu-0.0.20060102/ufondpfb.c:41:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch4 = getc(f);
data/fondu-0.0.20060102/ufondpfb.c:58:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ch = getc(pf);
data/fondu-0.0.20060102/ufondpfb.c:60:2:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	getc(pf); getc(pf); getc(pf); getc(pf); getc(pf);
data/fondu-0.0.20060102/ufondpfb.c:60:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	getc(pf); getc(pf); getc(pf); getc(pf); getc(pf);
data/fondu-0.0.20060102/ufondpfb.c:60:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	getc(pf); getc(pf); getc(pf); getc(pf); getc(pf);
data/fondu-0.0.20060102/ufondpfb.c:60:32:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	getc(pf); getc(pf); getc(pf); getc(pf); getc(pf);
data/fondu-0.0.20060102/ufondpfb.c:60:42:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	getc(pf); getc(pf); getc(pf); getc(pf); getc(pf);
data/fondu-0.0.20060102/ufondpfb.c:77:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    pt += strlen("/FamilyName");
data/fondu-0.0.20060102/ufondpfb.c:88:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    pt += strlen("/FontName");
data/fondu-0.0.20060102/ufondpfb.c:145:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ( getc(pf)!=0x80 ) {
data/fondu-0.0.20060102/ufondpfb.c:150:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	type = getc(pf);
data/fondu-0.0.20060102/ufondpfb.c:171:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		putc(getc(pf),res);
data/fondu-0.0.20060102/ufondttf.c:80:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch = getc(ttf);
data/fondu-0.0.20060102/ufondttf.c:104:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ch1 = getc(ttf);
data/fondu-0.0.20060102/ufondttf.c:105:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ch2 = getc(ttf);
data/fondu-0.0.20060102/ufondttf.c:106:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ch3 = getc(ttf);
data/fondu-0.0.20060102/ufondttf.c:107:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ch4 = getc(ttf);
data/fondu-0.0.20060102/ufondttf.c:210:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	info.glyphs[i] = getc(ttf);
data/fondu-0.0.20060102/ufondttf.c:273:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( (ch=getc(ttf))!=EOF )

ANALYSIS SUMMARY:

Hits = 464
Lines analyzed = 10049 in approximately 0.39 seconds (25872 lines/second)
Physical Source Lines of Code (SLOC) = 8443
Hits@level = [0] 388 [1] 239 [2] 166 [3]   0 [4]  59 [5]   0
Hits@level+ = [0+] 852 [1+] 464 [2+] 225 [3+]  59 [4+]  59 [5+]   0
Hits/KSLOC@level+ = [0+] 100.912 [1+] 54.9568 [2+] 26.6493 [3+] 6.98804 [4+] 6.98804 [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.