[Top][All Lists]

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

[bug-gv] [bug #20752] Problems with BeginDocument/EndDocument

From: anonymous
Subject: [bug-gv] [bug #20752] Problems with BeginDocument/EndDocument
Date: Sat, 11 Aug 2007 13:01:27 +0000
User-agent: ELinks/0.11.1-1.2-debian (textmode; Linux 2.6.18-4-k7 i686; 93x55-2)


                 Summary: Problems with BeginDocument/EndDocument
                 Project: GNU gv
            Submitted by: None
            Submitted on: Saturday 08/11/2007 at 13:01 UTC
                Category: PostScript rendering
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None



There are two problems with parsing embedded subdocuments
marked with DSC headers BeginDocument/EndDocument

- only the first EndDocument is looked for. This fails
  if the embedded document again contains embedded documents.

- the check for %%EndDocument is broken. There is only
a IS_END("Document") in the source, which only checks
that there is Document, but not that there is %%End before
that, which fails if an embedded document contains other
headers looking like this (like '%AI3_DocumentPreview: Header').

The attached patch should fix both.

More history can be found at http://bugs.debian.org/299447
and http://bugs.debian.org/433898


File Attachments:

Date: Saturday 08/11/2007 at 13:01 UTC  Name: 299447and433898-nested-eps 
Size: 954B   By: None



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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