#! /bin/sh /usr/share/dpatch/dpatch-run ## CVE-2011-2722.dpatch by Didier Raboud ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Fix "Insecure tempfile handling" CVE-2011-2722 by backporting from ## DP: 3.11.10 the removal of the culprit code by upstream. # # Bug-Debian: http://bugs.debian.org/635549 # Author: Didier Raboud 0) { write (STDOUT_FILENO, pTmp, len); - if (iLogLevel & SAVE_PCL_FILE && fp) - { - fwrite (pTmp, 1, len, fp); - } } free (pTmp); - if (fp) - { - fclose (fp); - } - return 0; }