vdr/vdr/debian/patches 08_security_CAN-2005-0071.dpatch

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Sun, 23 Jan 2005 21:28:05 +0000


Update of /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/patches
In directory haydn:/tmp/cvs-serv26092/vdr/vdr/debian/patches

Modified Files:
	08_security_CAN-2005-0071.dpatch 
Log Message:
* use mode 0640 for screenshot-files

Index: 08_security_CAN-2005-0071.dpatch
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/patches/08_security_CAN-2005-0071.dpatch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- 08_security_CAN-2005-0071.dpatch	16 Jan 2005 22:02:57 -0000	1.1
+++ 08_security_CAN-2005-0071.dpatch	23 Jan 2005 21:28:03 -0000	1.2
@@ -15,7 +15,7 @@
             isyslog("grabbing to %s (%s %d %d %d)", FileName, Jpeg ? "JPEG" : "PNM", Quality, vm.width, vm.height);
 -           FILE *f = fopen(FileName, "wb");
 -           if (f) {
-+	   int fd = open(FileName, O_CREAT | O_EXCL | O_TRUNC | O_RDWR, 0600);
++	   int fd = open(FileName, O_CREAT | O_EXCL | O_TRUNC | O_RDWR, 0640);
 +           if (fd > -1) {
 +            FILE *f = fdopen(fd, "wb");
 +            if (f) {