Commit 4b599aaa authored by David Goulet's avatar David Goulet 🐼
Browse files

Merge branch 'tor-github/pr/939'

parents 4587e67d cdafcc49
Loading
Loading
Loading
Loading

changes/bug30151

0 → 100644
+5 −0
Original line number Diff line number Diff line
  o Minor bugfixes (tor-resolve):
    - Fix a memory leak in tor-resolve that could happen if Tor gave it a
      malformed SOCKS response.  (Memory leaks in tor-resolve don't actually
      matter, but it's good to fix them anyway.)  Fixes bug 30151; bugfix on
      0.4.0.1-alpha.
+1 −0
Original line number Diff line number Diff line
@@ -424,6 +424,7 @@ do_resolve(const char *hostname,
    if (parsed < 2) {
      log_err(LD_NET, "Failed to parse SOCKS5 method selection "
                      "message");
      socks5_server_method_free(m);
      goto err;
    }