Commit f5f4314e authored by Nick Mathewson's avatar Nick Mathewson 🐘
Browse files

Always initialize hexid in rend_mid_rendezvous, no matter what


svn:r2176
parent 380f32f0
Loading
Loading
Loading
Loading
+2 −1
Changes for src/or/rendmid.c: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -229,8 +229,9 @@ rend_mid_rendezvous(circuit_t *circ, const char *request, int request_len)
  circuit_t *rend_circ;
  char hexid[9];

  base16_encode(hexid,9,request,request_len<4?request_len:4);

  if (request_len>=4) {
    base16_encode(hexid,9,request,4);
    log_fn(LOG_INFO, "Got request for rendezvous from circuit %d to cookie %s",
           circ->p_circ_id, hexid);
  }