|
From: | Ralph Giles |
Subject: | Re: [pdf-devel] ASCII85Decode implementation |
Date: | Sat, 8 Mar 2008 14:39:18 -0800 |
On 8-Mar-08, at 2:00 PM, Cirilo Bernardo wrote:
I don't understand this scheme - a stream tells you how long its input data segment is.
Irrespective of your other objections, I suggest that you should design for the occasional possibility that the Length entry in the stream dictionary is missing or wrong and the length of the stream has to be determined by looking for an EOD marker, hitting the end of the file, or even something that looks like a different kind of data. Such files are of course invalid, but they nevertheless exist.
-r
[Prev in Thread] | Current Thread | [Next in Thread] |