Skip to content

Commit

Permalink
Apply an anonymously contributed patch to avoid crashing when "mixmin…
Browse files Browse the repository at this point in the history
…ion update-servers" is called with no .mixminion directory.
  • Loading branch information
nmathewson committed Nov 16, 2006
1 parent 2dff829 commit a9d8ee2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 9 additions & 1 deletion HISTORY
@@ -1,4 +1,9 @@
$Id: HISTORY,v 1.16 2005/12/02 21:11:36 nickm Exp $
$Id: HISTORY,v 1.17 2006/11/16 22:47:00 nickm Exp $

NEW IN VERSION 0.0.8alpha3:
- Create .mixminion directory even when we try to lock before accessing
it: This prevents "update-servers" from crashing when run without
a .mixminion directory.

NEW IN VERSION 0.0.8alpha2:
- License changed from LGPL to the so-called "MIT" license. This has
Expand Down Expand Up @@ -39,6 +44,9 @@ NEW IN VERSION 0.0.8alpha2:
- Implement --status-fd option to dump info to would-be integrators.
- Better errors on expired certs

NEW IN VERSION 0.0.8alpha1:
- Make it work with Python 2.4, and more versions of zlib.

NEW IN VERSION 0.0.7.1:
- Install man pages in PREFIX/share/man, not PREFIX/man.
- If the server crashed while changing a packet's metadata, it would often
Expand Down
2 changes: 2 additions & 0 deletions lib/mixminion/ClientMain.py
Expand Up @@ -61,6 +61,8 @@ def clientUnlock():
def configureClientLock(filename):
"""Prepare the client lock for use."""
global _CLIENT_LOCKFILE
parent, fname = os.path.split(filename)
createPrivateDir(parent)
_CLIENT_LOCKFILE = Lockfile(filename)

class ClientDiskLock:
Expand Down

0 comments on commit a9d8ee2

Please sign in to comment.