public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-mail/mpack/files: mpack-1.6-cve-2011-4919.patch
@ 2011-12-31 22:45 Sebastian Pipping (sping)
  0 siblings, 0 replies; only message in thread
From: Sebastian Pipping (sping) @ 2011-12-31 22:45 UTC (permalink / raw
  To: gentoo-commits

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







^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-12-31 22:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-31 22:45 [gentoo-commits] gentoo-x86 commit in net-mail/mpack/files: mpack-1.6-cve-2011-4919.patch Sebastian Pipping (sping)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox