summaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-06-13 09:40:32 -0400
committerNick Mathewson <nickm@torproject.org>2013-06-13 09:40:32 -0400
commit25dddf7a8f30699242b52fce115f29401f63ee9c (patch)
tree1b353ff92a3f30b3e8a94804f580b223555ac906 /src/or/dirserv.c
parent74a534be15a26cddb8b134757416a7550072f44b (diff)
parente602c4031b57f0780661ce0473a5e30d187d385c (diff)
downloadtor-25dddf7a8f30699242b52fce115f29401f63ee9c.tar.gz
tor-25dddf7a8f30699242b52fce115f29401f63ee9c.zip
Merge remote-tracking branch 'public/bug8822' into maint-0.2.4
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 8f6d9ec438..3e46153a55 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -3981,7 +3981,7 @@ connection_dirserv_add_microdescs_to_outbuf(dir_connection_t *conn)
char *fp256 = smartlist_pop_last(conn->fingerprint_stack);
microdesc_t *md = microdesc_cache_lookup_by_digest256(cache, fp256);
tor_free(fp256);
- if (!md)
+ if (!md || !md->body)
continue;
if (conn->zlib_state) {
/* XXXX024 This 'last' business should actually happen on the last