qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Wilk <jwilk@jwilk.net>
To: oss-security@lists.openwall.com
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [oss-security] QEMU 2.3.0 tmp vulns CVE request
Date: Sat, 16 May 2015 16:38:29 +0200	[thread overview]
Message-ID: <20150516143829.GA1741@jwilk.net> (raw)
In-Reply-To: <555703A7.3090600@msgid.tls.msk.ru>

* Michael Tokarev <mjt@tls.msk.ru>, 2015-05-16, 11:45:
>>./net/slirp.c:
>>    snprintf(s->smb_dir, sizeof(s->smb_dir), "/tmp/qemu-smb.%ld-%d",
>>             (long)getpid(), instance++);
>
>This one is real, used for -smb argument, to start smbd, making its 
>configuration.  Maybe tmpnam() should be used here.

"Never use this function.  Use mkstemp(3) or tmpfile(3) instead."

-- 
Jakub Wilk

      reply	other threads:[~2015-05-16 14:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <55537A9D.70306@redhat.com>
2015-05-16  8:45 ` [Qemu-devel] [oss-security] QEMU 2.3.0 tmp vulns CVE request Michael Tokarev
2015-05-16 14:38   ` Jakub Wilk [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150516143829.GA1741@jwilk.net \
    --to=jwilk@jwilk.net \
    --cc=oss-security@lists.openwall.com \
    --cc=qemu-devel@nongnu.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.
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 NNTP newsgroup(s).