From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r107264: shr.el (shr-rescale-image): Allow viewing large images. Date: Mon, 13 Feb 2012 21:01:32 +0100 Message-ID: <874nuuwlib.fsf@gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1329163326 4885 80.91.229.3 (13 Feb 2012 20:02:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Feb 2012 20:02:06 +0000 (UTC) Cc: Katsumi Yamaoka , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 13 21:02:04 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rx268-0003aQ-KP for ged-emacs-devel@m.gmane.org; Mon, 13 Feb 2012 21:02:04 +0100 Original-Received: from localhost ([::1]:37155 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rx268-0008IA-34 for ged-emacs-devel@m.gmane.org; Mon, 13 Feb 2012 15:02:04 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:57050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rx261-0008He-3g for emacs-devel@gnu.org; Mon, 13 Feb 2012 15:02:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rx25w-00025x-7m for emacs-devel@gnu.org; Mon, 13 Feb 2012 15:01:57 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:33466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rx25w-00024n-2j for emacs-devel@gnu.org; Mon, 13 Feb 2012 15:01:52 -0500 Original-Received: from 93-41-188-50.ip82.fastwebnet.it ([93.41.188.50] helo=rusty) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Rx25e-0001Od-AG; Mon, 13 Feb 2012 21:01:34 +0100 In-Reply-To: (Stefan Monnier's message of "Mon, 13 Feb 2012 08:15:56 -0500") User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) X-MailScanner-ID: 1Rx25e-0001Od-AG MailScanner-NULL-Check: 1329768094.8461@h5WDOpB/m/hT9RCHQtXikw X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148570 Archived-At: Stefan Monnier writes: > The whole purpose of max-image-size was to avoid crashes and > denial-of-service, for example when viewing incorrectly-labeled images. > So it's especially important for SHR which will display images > downloaded from anywhere. shr.el (if compiled with imagemagick support) will (by default) rescale the images down. But to do that, it goes through the display engine, anyway, so it's an issue anyway. But what crashes and denials of service does `create-image' on a large image result in? -- (domestic pets only, the antidote for overdose, milk.) http://lars.ingebrigtsen.no * Sent from my Rome