From: "Sebastian Pipping (sping)" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in net-mail/mpack/files: mpack-1.6-cve-2011-4919.patch
Date: Sat, 31 Dec 2011 22:45:11 +0000 (UTC) [thread overview]
Message-ID: <20111231224511.B07C82004C@flycatcher.gentoo.org> (raw)
sping 11/12/31 22:45:11
Added: mpack-1.6-cve-2011-4919.patch
Log:
net-mail/mpack: 1.6-r2
(Portage version: 2.1.10.43/cvs/Linux x86_64)
Revision Changes Path
1.1 net-mail/mpack/files/mpack-1.6-cve-2011-4919.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mpack/files/mpack-1.6-cve-2011-4919.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mpack/files/mpack-1.6-cve-2011-4919.patch?rev=1.1&content-type=text/plain
Index: mpack-1.6-cve-2011-4919.patch
===================================================================
From 0c87201f64491575350b18d04c62ec142e119d1f Mon Sep 17 00:00:00 2001
From: Sebastian Pipping <sebastian@pipping.org>
Date: Sat, 31 Dec 2011 20:17:20 +0100
Subject: [PATCH] Fix permissions
---
unixos.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/unixos.c b/unixos.c
index fa6d0a7..0e2f469 100644
--- a/unixos.c
+++ b/unixos.c
@@ -134,9 +134,9 @@ FILE *os_createnewfile(char *fname)
FILE *ret;
#ifdef O_EXCL
- fd=open(fname, O_RDWR|O_CREAT|O_EXCL, 0644);
+ fd=open(fname, O_RDWR|O_CREAT|O_EXCL, 0600);
#else
- fd=open(fname, O_RDWR|O_CREAT|O_TRUNC, 0644);
+ fd=open(fname, O_RDWR|O_CREAT|O_TRUNC, 0600);
#endif
if (fd == -1)
--
1.7.8.1
reply other threads:[~2011-12-31 22:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20111231224511.B07C82004C@flycatcher.gentoo.org \
--to=sping@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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