[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] add a question for nick



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/home/arma/work/minion/src/minion/lib/mixminion

Modified Files:
	Common.py 
Log Message:
add a question for nick


Index: Common.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/Common.py,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- Common.py	17 May 2003 00:08:42 -0000	1.73
+++ Common.py	17 May 2003 05:04:32 -0000	1.74
@@ -258,6 +258,9 @@
     def __init__(self, fname, mode='w'):
         self.fname = fname
         self.tmpname = fname + ".tmp"
+        # XXXX Put a note here saying we've thought about the security
+        # XXXX issues (eg having a file that ends in .tmp that gets
+        # XXXX overwritten by this thing).
         fd = os.open(self.tmpname, os.O_WRONLY|os.O_CREAT|os.O_TRUNC, 0600)
         self.f = os.fdopen(fd, mode)