Public bug reported:
gs chares while processing pdf by it's full path.
versions 8.71, 9.05 and 9.06 (pre-release freeze) are affected by this
bug.
Expected: split first slide from pdf.
Example:
ghostscript -sDEVICE=pdfwrite -dNOPAUSE -dQUIET -dBATCH -dFirstPage=1
-dLastPage=1
-sOutputFile=/va
The problem is actually in processing "-sOutputFile" command line
parameter.
File ./base/gsparam2.c contains a define:
#define MAX_PARAM_KEY 255
so if length of path -sOutputFile > MAX_PARAM_KEY security check performed:
gsparam2.c:73
---
char string_key[MAX_PARAM_KEY + 1];
if (sizeof(string_ke
2 matches
Mail list logo