Re: [Tools-discuss] RFC PDF crashes viewer

Erik Auerswald <auerswal@unix-ag.uni-kl.de> Fri, 26 June 2020 20:32 UTC

Return-Path: <auerswal@unix-ag.uni-kl.de>
X-Original-To: tools-discuss@ietfa.amsl.com
Delivered-To: tools-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D21253A0C44 for <tools-discuss@ietfa.amsl.com>; Fri, 26 Jun 2020 13:32:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DWQ_4O4Vquzy for <tools-discuss@ietfa.amsl.com>; Fri, 26 Jun 2020 13:32:17 -0700 (PDT)
Received: from mailgw1.uni-kl.de (mailgw1.uni-kl.de [IPv6:2001:638:208:120::220]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B31013A0C41 for <tools-discuss@ietf.org>; Fri, 26 Jun 2020 13:32:17 -0700 (PDT)
Received: from sushi.unix-ag.uni-kl.de (sushi.unix-ag.uni-kl.de [IPv6:2001:638:208:ef34:0:ff:fe00:65]) by mailgw1.uni-kl.de (8.14.4/8.14.4/Debian-8+deb8u2) with ESMTP id 05QKWFis128286 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <tools-discuss@ietf.org>; Fri, 26 Jun 2020 22:32:15 +0200
Received: from sushi.unix-ag.uni-kl.de (ip6-localhost [IPv6:::1]) by sushi.unix-ag.uni-kl.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id 05QKWEQY019594 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <tools-discuss@ietf.org>; Fri, 26 Jun 2020 22:32:15 +0200
Received: (from auerswal@localhost) by sushi.unix-ag.uni-kl.de (8.14.4/8.14.4/Submit) id 05QKWENJ019592 for tools-discuss@ietf.org; Fri, 26 Jun 2020 22:32:14 +0200
Date: Fri, 26 Jun 2020 22:32:14 +0200
From: Erik Auerswald <auerswal@unix-ag.uni-kl.de>
To: tools-discuss@ietf.org
Message-ID: <20200626203214.GA16307@unix-ag.uni-kl.de>
References: <0DE4B90E-B03A-45BB-959B-89B695217188@tzi.org> <2DE9781A-E192-4E9C-838C-B7D67B1D4256@vigilsec.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <2DE9781A-E192-4E9C-838C-B7D67B1D4256@vigilsec.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/sXIENj9TCFHCTiOpJszb0Zcr-ps>
Subject: Re: [Tools-discuss] RFC PDF crashes viewer
X-BeenThere: tools-discuss@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-discuss/>
List-Post: <mailto:tools-discuss@ietf.org>
List-Help: <mailto:tools-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Jun 2020 20:32:20 -0000

Hi,

while MuPDF can open and display the file, it produces many instances of
two  messages (one error, one warning):

    $ mupdf rfc8798.pdf
    error: Unable to read ICC workflow
    warning: Attempt to read Output Intent failed
    [...]

For every page, a new burst of several instances of the above two messages
is printed.

Firefox displays the PDF file.

The GNOME Document Viewer (evince) crashes.

There are other PDF renderings of RFCs that crash evince, e.g., RFCs 8651
to 8655.  Those produce the same messages with MuPDF as RFC 8798, but MuPDF
does display them.  Both Firefox's and Chrome's built-in PDF viewers can
display those PDF renderings of RFCs.

I agree with Carsten that this is a bug in evince, but evince works fine
for most PDF files out there, including many that Firefox cannot display
correctly.  Since MuPDF produces error and warning messages, and evince
crashes, it seems to me as if it were likely that the PDF versions of
recent RFCs do have issues.

Thanks,
Erik

On Fri, Jun 26, 2020 at 02:02:20PM -0400, Russ Housley wrote:
> I just opened that file with three different viewers.  They all worked.
> 
> Russ
> 
> 
> > On Jun 26, 2020, at 11:44 AM, Carsten Bormann <cabo@tzi.org> wrote:
> > 
> > This is undoubtedly a bug in the viewer, but I have received a report the PDF viewer evince (tested with versions 3.30.2 and 3.36.5, i.e., newer than CVE-2019-1010006) crashes when trying to view:
> > 
> > https://www.rfc-editor.org/rfc/rfc8798.pdf
> > 
> > I have no further data at this time.
> > 
> > Grüße, Carsten