6895N/AThis patch has been taken from community and it addresses format string
6895N/Avulnerabilities in a2ps component.
6895N/AThis turned into CVE-2015-8107:
6895N/A===================================================================
6895N/A ps_escape_char (job, cp[i], buf);
6895N/A- output (jdiv, (char *) buf);
6895N/A+ output (jdiv, "%s", (char *) buf);
6895N/A===================================================================
6895N/A expand_user_string (job, FIRST_FILE (job),
6895N/A (const uchar *) "Expand: requirement",
6895N/A+ output (dest, "%s", expansion);
6895N/A===================================================================
6895N/A- error_at_line (1, 0, ppdfilename, ppdlineno, msg);
6895N/A+ error_at_line (1, 0, ppdfilename, ppdlineno, "%s", msg);
6895N/A===================================================================
6895N/A- error_at_line (1, 0, sshfilename, sshlineno, msg);
6895N/A+ error_at_line (1, 0, sshfilename, sshlineno, "%s", msg);
6895N/A===================================================================
6895N/A- error_at_line (1, 0, ppdfilename, ppdlineno, msg);
6895N/A+ error_at_line (1, 0, ppdfilename, ppdlineno, "%s", msg);
6895N/A===================================================================
6895N/A- error_at_line (1, 0, sshfilename, sshlineno, msg);
6895N/A+ error_at_line (1, 0, sshfilename, sshlineno, "%s", msg);