swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] proposed fix for VectorGraphicOutputDev::saveState


From: Jeff Glass
Subject: [Swftools-common] proposed fix for VectorGraphicOutputDev::saveState
Date: Fri, 18 Apr 2014 18:29:58 +0000

I have found that pdf2swf is unable to handle some PDF files because the size of the VectorGraphicOutputDev::states stack is too small. In addition, the code in VectorGraphicOutputDev::saveState which attempts to check for this condition is incorrect and causes a buffer-overrun problem. I have made some changes to VectorGraphicOutputDev.{cc,h} to dynamically allocate the states stack and I wish to submit them for incorporation into swftools.

 

thanks/jeff

 

Attachment: diffs.txt
Description: diffs.txt


reply via email to

[Prev in Thread] Current Thread [Next in Thread]