From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Glenn Morris <rgm@gnu.org>
Cc: David Bremner <bremner-dated-1252800134.2fccb3@pivot.cs.unb.ca>,
4291@debbugs.gnu.org
Subject: bug#4291: 23.1; doc-view-mode temporary directory vulnerable to denial of service
Date: Tue, 12 Jul 2011 23:46:27 +0200 [thread overview]
Message-ID: <m38vs3jhos.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <7kzkkj897u.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 12 Jul 2011 17:44:53 -0400")
Glenn Morris <rgm@gnu.org> writes:
>>> IIRC /tmp/docview$uid is predictable because doc-view tries to reuse
>>> previouly-rendered pages. I'm not convinced this is really a good
>>> feature, but obviously the author thought it was important, so I'd
>>> rather not drop it without a discussion.
>>
>> It could just stash the directory name in a variable, and use the normal
>> `make-temp-file' to create the directory, couldn't it?
>
> I think the idea referred to above is to potentially re-use pages
> converted by a previous Emacs instance (which seems like a bad feature
> to me too).
Oh, I see. Hm. Sounds like a bad idea to me, too. :-)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
next prev parent reply other threads:[~2011-07-12 21:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-30 0:02 bug#4291: 23.1; doc-view-mode temporary directory vulnerable to denial of service David Bremner
2009-08-31 1:42 ` Glenn Morris
2009-08-31 14:55 ` Stefan Monnier
2009-09-01 21:15 ` Glenn Morris
2011-07-12 21:18 ` Lars Magne Ingebrigtsen
2011-07-12 21:44 ` Glenn Morris
2011-07-12 21:46 ` Lars Magne Ingebrigtsen [this message]
2011-07-12 22:16 ` Chong Yidong
2011-07-12 22:18 ` Lars Magne Ingebrigtsen
2011-07-16 19:38 ` Lars Magne Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m38vs3jhos.fsf@quimbies.gnus.org \
--to=larsi@gnus.org \
--cc=4291@debbugs.gnu.org \
--cc=bremner-dated-1252800134.2fccb3@pivot.cs.unb.ca \
--cc=rgm@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).