1. 28 Oct, 2020 1 commit
    • David Goulet's avatar
      test: Missing tor_free() in metrics unit tests · 2edda444
      David Goulet authored
      
      
      Found by coverity:
      
        *** CID 1468664:  Resource leaks  (RESOURCE_LEAK)
        /src/test/test_metrics.c: 83 in test_config()
        77       tt_int_op(ret, OP_EQ, false);
        78
        79      done:
        80       SMARTLIST_FOREACH(ports, port_cfg_t *, c, port_cfg_free(c));
        81       smartlist_free(ports);
        82       or_options_free(options);
        >>>     CID 1468664:  Resource leaks  (RESOURCE_LEAK)
        >>>     Variable "err_msg" going out of scope leaks the storage it points to.
        83     }
        84
        85     static char _c_buf[256];
        86     #define CONTAINS(conn, msg) \
        87       do { \
        88         tt_int_op(buf_datalen(conn->outbuf), OP_EQ, (strlen(msg))); \
      Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
      2edda444
  2. 27 Oct, 2020 20 commits
  3. 26 Oct, 2020 3 commits
  4. 23 Oct, 2020 4 commits
  5. 22 Oct, 2020 1 commit
    • Roger Dingledine's avatar
      Turn ConsensusParams into a Linelist · 00118355
      Roger Dingledine authored
      Make it possible to specify multiple ConsensusParams torrc
      lines.
      
      Now directory authority operators can for example put the
      main ConsensusParams config in one torrc file and then add to it
      from a different torrc file.
      
      Closes ticket 40164.
      00118355
  6. 21 Oct, 2020 3 commits
  7. 20 Oct, 2020 5 commits
  8. 19 Oct, 2020 3 commits