[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to c
From: |
Pip Cet |
Subject: |
bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to crash |
Date: |
Thu, 25 Jul 2019 14:14:43 +0000 |
On Thu, Jul 25, 2019 at 12:55 PM Eli Zaretskii <eliz@gnu.org> wrote:
> > From: Pip Cet <pipcet@gmail.com>
> > Date: Thu, 25 Jul 2019 11:51:16 +0000
> > Cc: Adam Plaice <plaiceadam@gmail.com>, 36773@debbugs.gnu.org
> >
> > > Perhaps url-store-in-cache should take a parameter to remove the
> > > Content-Encoding header (i.e. "gzip")? It should really be up to the
> > > program that uses url.el (i.e. shr) whether to cache the data or not...
> >
> > 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.
0001-Don-t-crash-when-parsing-bad-SVG-data-bug-36773.patch
Description: Text Data
0002-Don-t-double-decompress-cached-HTTP-responses-bug-36.patch
Description: Text Data
- bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to crash, (continued)
- bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to crash, Adam Plaice, 2019/07/23
- bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to crash, Pip Cet, 2019/07/24
- bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to crash, Eli Zaretskii, 2019/07/24
- bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to crash, Pip Cet, 2019/07/24
- bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to crash, Eli Zaretskii, 2019/07/24
- bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to crash, Adam Plaice, 2019/07/24
- bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to crash, Pip Cet, 2019/07/25
- bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to crash, Lars Ingebrigtsen, 2019/07/25
- bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to crash, Pip Cet, 2019/07/25
- bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to crash, Eli Zaretskii, 2019/07/25
- bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to crash,
Pip Cet <=
- bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to crash, Adam Plaice, 2019/07/25
- bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to crash, Eli Zaretskii, 2019/07/27
- bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to crash, Lars Ingebrigtsen, 2019/07/25
bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to crash, Paul Eggert, 2019/07/25