unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: David Bremner <bremner-dated-1252800134.2fccb3@pivot.cs.unb.ca>
Cc: 4291@emacsbugs.donarmstrong.com
Subject: bug#4291: 23.1; doc-view-mode temporary directory vulnerable to denial of service
Date: Sun, 30 Aug 2009 21:42:51 -0400	[thread overview]
Message-ID: <1x7hwk3gis.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <E1MhXrz-0005yJ-3B@localhost> (David Bremner's message of "Sat, 29 Aug 2009 21:02:07 -0300")

David Bremner wrote:

> By default doc-view-mode makes a directory /tmp/docview$uid .  Since
> this is easily predictable, a malicious person could cause docview to
> fail simply by creating a directory with the same name. 

Couldn't they do the same thing by simply filling /tmp with junk, no
matter what filename is used?

(Emacs server also uses the same name every time AFAIK.)





  reply	other threads:[~2009-08-31  1:42 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 [this message]
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
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=1x7hwk3gis.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=4291@emacsbugs.donarmstrong.com \
    --cc=bremner-dated-1252800134.2fccb3@pivot.cs.unb.ca \
    /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).