Re: fix for 687135, pdf file processing error
Ray Johnston <[email protected]>
| Newsgroups | gmane.comp.printing.ghostscript.patches |
|---|---|
| Organization | Artifex Software Inc. |
| Message-ID | <[email protected]> |
Alex, The PDF spec says that ID is required when encrption is used. Please add a 'pdfformaterror' Warning saying that the required ID is missing, then commit the patch and close the bug. Regards, Ray ____________________________________________________________________ Alex Cherepanov wrote: > Igor wrote: > > Please explain why the empty string is an acceptable default. > > First, empty string seems to be a logical default value. > Second, this string is used to calculate decryption > passwords. Since the file is displayed correctly, the default > value is right. > > I've tested some other strings and they indeed decrypt > the file to garbage. > > > _______________________________________________ > gs-code-review mailing list > [email protected] > http://www.ghostscript.com/mailman/listinfo/gs-code-review > > . > -- Ray Johnston Director of Engineering Tel: (714) 484-0376 Artifex Software Inc. Fax: (714) 220-1022 ______________________________________________________________________