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

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Sun, 23 Jan 2005 22:35:19 +0000


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

Modified Files:
	08_security_CAN-2005-0071.dpatch 
Log Message:
* ok, this one should now really work ;-)

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.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- 08_security_CAN-2005-0071.dpatch	23 Jan 2005 21:28:03 -0000	1.2
+++ 08_security_CAN-2005-0071.dpatch	23 Jan 2005 22:35:16 -0000	1.3
@@ -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, 0640);
++	   int fd = open(FileName, O_CREAT | O_EXCL | O_TRUNC | O_RDWR, 00640);
 +           if (fd > -1) {
 +            FILE *f = fdopen(fd, "wb");
 +            if (f) {