Merge remote-tracking branch 'public/bug9295_023' into maint-0.2.4

This commit is contained in:
Nick Mathewson
2013-07-18 23:17:05 -04:00
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
o Major bugfixes:
- Avoid a crash when using --hash-password. Fixes bug 9295; bugfix on
0.2.4.15-rc. Found by stem integration tests.
+1
View File
@@ -3714,6 +3714,7 @@ options_init_from_torrc(int argc, char **argv)
}
if (command == CMD_HASH_PASSWORD) {
cf_defaults = tor_strdup("");
cf = tor_strdup("");
} else {
cf_defaults = load_torrc_from_disk(argc, argv, 1);