emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r107264: shr.el (shr-rescale-imag


From: Ted Zlatanov
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r107264: shr.el (shr-rescale-image): Allow viewing large images.
Date: Mon, 13 Feb 2012 15:41:51 -0500
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux)

On Mon, 13 Feb 2012 21:33:02 +0100 Lars Ingebrigtsen <address@hidden> wrote: 

LI> Paul Eggert <address@hidden> writes:
>> For incredibly large images, the underlying libraries are
>> likely to have unchecked integer or memory overflows, dumping
>> core if you're lucky and having "interesting" behavior otherwise.
>> Even if the libraries themselves are reliable (a big "if"),
>> that part of Emacs is less well ironed out, and I wouldn't
>> be surprised if Emacs proper has exploitable bugs in this
>> area.

LI> Right.  But the default value of 6.0 disallows a lot of real-world
LI> images.  (9gag in particular.)  Perhaps binding it to, say, 60.0 in
LI> shr.el would make sense?

Or make `max-image-size' a plist of conditions, so filtering by absolute
size AND by relative size to frame AND by file size are all possible at
once?

Ted




reply via email to

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