Commit 0af0f78d authored by Nick Mathewson's avatar Nick Mathewson 🦀
Browse files

Merge branch 'maint-0.3.5'

parents a3e6f246 702fd6f0
Loading
Loading
Loading
Loading

changes/ticket28881

0 → 100644
+4 −0
Original line number Diff line number Diff line
  o Code simplification and refactoring:
    -  When parsing a port configuration, make it more
       obvious to static analyzer tools that we will always initialize the
       address. Closes ticket 28881.
+2 −0
Original line number Diff line number Diff line
@@ -6883,6 +6883,8 @@ parse_port_config(smartlist_t *out,

  for (; ports; ports = ports->next) {
    tor_addr_t addr;
    tor_addr_make_unspec(&addr);

    int port;
    int sessiongroup = SESSION_GROUP_UNSET;
    unsigned isolation = ISO_DEFAULT;