Apply patch from Debian Security Team for CAN-2004-1184.
[enscript.git] / src / ChangeLog
index 5352633..b5e7680 100644 (file)
@@ -1,3 +1,31 @@
+2009-12-27  Tim Retout  <diocles@gnu.org>
+
+       Apply patch from Debian Security Team for CAN-2004-1184.
+
+       * gsint.h: Add shell_escape prototype.
+       * util.c (shell_escape): New function to escape filenames for
+       shell usage.
+       * util.c (is_open): Use shell_escape to expand command buffer.
+
+       * main.c (main): Use single quotes when building command string,
+       and use shell_escape to quote contents.
+
+       * util.c (escape_string): Check return code of xmalloc.
+
+2009-03-28  Tim Retout  <diocles@gnu.org>
+
+       * psgen.c (recognize_eps_file): Remove ability to read EPS data
+       from a pipe, as this executes arbitrary commands.  It has been
+       disabled in most distros for five years anyway.  See
+       CAN-2004-1185.
+
+       * psgen.c (dump_ps_page_header): Use basename() and dirname() to
+       split path.  Fixes a buffer overflow - see CAN-2004-1186.
+
+2009-01-25  Tim Retout  <diocles@gnu.org>
+
+       * main.c (main): Respect $HOME when searching for ~/.enscriptrc
+
 2008-01-01  Tim Retout  <diocles@gnu.org>
 
        * ChangeLog: Run M-x change-log-redate. Add copyright notice at end.