[tor-commits] [tor/master] Fix a missing break; in dump_desc_init()

nickm at torproject.org nickm at torproject.org
Fri Jul 1 14:02:54 UTC 2016


commit ac9784f7f5cc0f0723b0279ca75a6a373da1d4ed
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Jul 1 10:02:22 2016 -0400

    Fix a missing break; in dump_desc_init()
    
    Found by coverity scan; this is CID 1362983
---
 src/or/routerparse.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 106110e..d257910 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -639,6 +639,7 @@ dump_desc_init(void)
                  " exists: %s",
                  dump_desc_dir, strerror(errno));
       problem_with_dump_desc_dir = 1;
+      break;
     case FN_FILE:
     case FN_EMPTY:
     default:



More information about the tor-commits mailing list