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/fxlinuxprint-1.1.0+ds/codec.c
Examining data/fxlinuxprint-1.1.0+ds/codec.h
Examining data/fxlinuxprint-1.1.0+ds/fxlinuxprint.h
Examining data/fxlinuxprint-1.1.0+ds/pdftopdffx.c
Examining data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c

FINAL RESULTS:

data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:304: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(pdf_file_name, PDF_FILE_NAME);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:311:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (str, "%s%d", argPS2PDF[1], printOption.resolution);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:384: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 ( opt->job_name, argv[3]);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:399:8:  [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(p_choice->choice, p_options[j].value);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:431: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 ((char*)option_list[i].p_value, (char*)p_choice->choice);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:479: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 (pjl, PJLHeader);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:480:2:  [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 (pjl, PJLCommentBegin);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:481:2:  [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 (pjl, PJLCommentVersion);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:482:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (str, "%s%s", PJLSetRenderMode, color_mode_list[opt->color_mode].pjl);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:483:2:  [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 (pjl, str);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:484:2:  [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 (pjl, PJLSetJobAttribute);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:485:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (str, "%s%s", PJLAttributeDipq, print_mode_list[opt->print_mode].pjl);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:486:2:  [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 (pjl, str);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:487:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (str, "%s%s", PJLSetPaperSize, paper_size_list[opt->paper].pjl);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:488:2:  [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 (pjl, str);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:489:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (str, "%s%s", PJLSetCollate, collate_list[opt->collate].pjl);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:490:2:  [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 (pjl, str);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:492:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (str, "%s%d\x0a", PJLSetCopies, opt->copies);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:494:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (str, "%s%d\x0a", PJLSetQty, opt->copies);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:496:2:  [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 (pjl, str);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:497:2:  [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 (pjl, PJLSetJobAttribute);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:498:2:  [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 (pjl, PJLAttributeFstp);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:499:2:  [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 (pjl, PJLSetJobAttribute);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:500:2:  [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 (pjl, PJLAttributeLstp);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:501:2:  [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 (pjl, PJLSetJobAttribute);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:502:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (str, "%s%s", PJLAttributeLout, layout_list[opt->layout].pjl);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:503:2:  [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 (pjl, str);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:505: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 (pjl, PJLSetJobAttribute);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:506: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 (pjl, PJLAttributeZoom);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:508:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (str, "%s%s", PJLSetDuplex, duplex_list[opt->duplex].pjl);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:509:2:  [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 (pjl, str);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:511:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (str, "%s%s", PJLSetBinding, binding_list[opt->duplex].pjl);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:512: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 (pjl, str);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:515:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (str, "%s%s", PJLSetHold, job_type_list[opt->job_type].pjl);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:516: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 (pjl, str);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:518: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 (pjl, PJLSetHoldType);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:523: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 (decode_buff, opt->hold_key);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:525:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (str, "%s\"%s\"\x0a", PJLSetHoldKey, decode_buff);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:526: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 (pjl, str);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:529:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (str, "%s\"%s\"\x0a", PJLSetUserName, opt->user_name);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:530: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 (pjl, str);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:531:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (str, "%s\"%s\"\x0a", PJLSetJobName, opt->job_name);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:532: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 (pjl, str);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:534:2:  [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 (pjl, PJLSetJobAttribute);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:535:2:  [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 (pjl, PJLAttributeAnnt);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:537: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 (pjl, PJLSetAutoSelectOn);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:539: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 (pjl, PJLSetAutoSelectOff);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:540:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (str, "%s%s", PJLSetMediaSource, input_slot_list[opt->input_slot].pjl);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:541: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 (pjl, str);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:544:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (str, "%s%s", PJLSetMediaType, media_type_list[opt->media_type].pjl);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:545: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 (pjl, str);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:548: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 (pjl, PJLSetOutBin100);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:549: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 (pjl, PJLSetFinishOn);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:551:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf (str, "%s%s", PJLSetStaple, staple_list[opt->staple].pjl);	
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:552: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 (pjl, str);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:555: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 (pjl, PJLSetPunch);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:556: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 (pjl, PJLSetJobAttribute);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:557: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 (pjl, PJLAttributePunch);	
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:560: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 (pjl, PJLSetOutMain);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:569:2:  [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 (pjl, PJLSetJobAttribute);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:570:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (str, "%s%u\"\x0a", PJLAttributeFsize, opt->size);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:571:2:  [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 (pjl, str);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:572:2:  [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 (pjl, PJLSetTimeOut);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:573:2:  [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 (pjl, PJLEnterLanguage);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:594:3:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		execvp (arg[0], arg);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:289:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char 	ch[READ_DATA_SIZE+1];
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:290:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char 	chPJL[PJL_DATA_SIZE+1];
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:291: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			pdf_file_name[MAX_FILE_NAME_SIZE];
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:299: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 ((char*)&printOption, (char*)&printOptionDefault, sizeof(FX_OPTION_T));
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:305:2:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
	mkstemp(pdf_file_name);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:310: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 str[MAX_STR_SIZE];
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:323:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fd_out = open (pdf_file_name, O_RDWR)) < 0) {
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:339:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fd_in = open (pdf_file_name, O_RDONLY)) < 0) {
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:428:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					*((int*)option_list[i].p_value) = atoi (p_choice->choice);
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:457: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 str[MAX_STR_SIZE];
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:458: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 decode_buff[MAX_DECODE_BUF_SIZE];
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.h:61: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			job_name[128];
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.h:62: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			hold_key[128];
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.h:63: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			user_name[128];
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.h:64: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			bn_user[128];
data/fxlinuxprint-1.1.0+ds/pdftopdffx.c:33:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char 	ch[READ_DATA_SIZE+1];
data/fxlinuxprint-1.1.0+ds/pdftopdffx.c:39:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if ((fd_in = open (argv[6], O_RDONLY)) < 0) {
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:327:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((len = read (0, ch, READ_DATA_SIZE)) > 0) {
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:344: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).
	write (1, chPJL, strlen (chPJL));
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:346:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((len = read (fd_in, ch, READ_DATA_SIZE)) > 0) {
data/fxlinuxprint-1.1.0+ds/fxlinuxprint.c:349:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	write (1, PJLTrailer, strlen (PJLTrailer));
data/fxlinuxprint-1.1.0+ds/pdftopdffx.c:48:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((len = read (fd_in, ch, READ_DATA_SIZE)) > 0) {

ANALYSIS SUMMARY:

Hits = 87
Lines analyzed = 938 in approximately 0.07 seconds (13720 lines/second)
Physical Source Lines of Code (SLOC) = 685
Hits@level = [0]   2 [1]   5 [2]  17 [3]   0 [4]  65 [5]   0
Hits@level+ = [0+]  89 [1+]  87 [2+]  82 [3+]  65 [4+]  65 [5+]   0
Hits/KSLOC@level+ = [0+] 129.927 [1+] 127.007 [2+] 119.708 [3+] 94.8905 [4+] 94.8905 [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.