From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to crash Date: Sat, 27 Jul 2019 13:58:46 +0300 Message-ID: <83zhkzlp5l.fsf@gnu.org> References: <87muh2cv40.fsf@mouse.gnus.org> <83k1c6nuj6.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="214046"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36773-done@debbugs.gnu.org, larsi@gnus.org, plaiceadam@gmail.com To: Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 27 13:00:08 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrKQp-000tYV-SP for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jul 2019 13:00:07 +0200 Original-Received: from localhost ([::1]:44954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrKQo-0000ow-Lh for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jul 2019 07:00:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58422) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrKQm-0000op-Cv for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 07:00:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hrKQl-00082C-CO for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 07:00:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34852) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hrKQl-000820-8s for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 07:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hrKQl-0000lX-64 for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 07:00:03 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Jul 2019 11:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 36773 X-GNU-PR-Package: emacs Mail-Followup-To: 36773@debbugs.gnu.org, eliz@gnu.org, plaice.adam+lists@gmail.com Original-Received: via spool by 36773-done@debbugs.gnu.org id=D36773.15642251432840 (code D ref 36773); Sat, 27 Jul 2019 11:00:02 +0000 Original-Received: (at 36773-done) by debbugs.gnu.org; 27 Jul 2019 10:59:03 +0000 Original-Received: from localhost ([127.0.0.1]:43672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrKPn-0000jk-1W for submit@debbugs.gnu.org; Sat, 27 Jul 2019 06:59:03 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrKPk-0000jG-MY for 36773-done@debbugs.gnu.org; Sat, 27 Jul 2019 06:59:01 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hrKPf-0006c9-C5; Sat, 27 Jul 2019 06:58:55 -0400 Original-Received: from [176.228.60.248] (port=2756 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hrKPe-0002un-Ls; Sat, 27 Jul 2019 06:58:55 -0400 In-reply-to: (message from Pip Cet on Thu, 25 Jul 2019 14:14:43 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:163839 Archived-At: > From: Pip Cet > Date: Thu, 25 Jul 2019 14:14:43 +0000 > Cc: larsi@gnus.org, plaiceadam@gmail.com, 36773@debbugs.gnu.org > > > > I misread what you wrote at first, but I like my misreading better: > > > url-handle-content-transfer-encoding modifies the message, but not its > > > headers. Why shouldn't it do both? > > > > Yes, I think it should. Because that's the root cause of the problem: > > the data is uncompressed, but the headers still say it is compressed. > > Okay, I think it's likely we're going to require something similar for > other headers, so I added an argument to mail-fetch-field to delete > the fetched field's header line(s). > > Patches attached (the first should be unmodified). Appears to work here. Thanks, I've now pushed your second patch, and I'm closing this bug.