Fix CID 1430932
commit4bb7d9fd1241a3c263636efa03ee8c62ab744515
authorTaylor Yu <catalyst@torproject.org>
Mon, 26 Mar 2018 22:51:50 +0000 (26 17:51 -0500)
committerTaylor Yu <catalyst@torproject.org>
Tue, 27 Mar 2018 20:29:00 +0000 (27 15:29 -0500)
treede2b258b7bd9a6f830d0bd918613f671b39add3e
parent9f93bcd16d70b540c518acee56a440be12072ef7
Fix CID 1430932

Coverity found a null pointer reference in nodelist_add_microdesc().
This is almost certainly impossible assuming that the routerstatus_t
returned by router_get_consensus_status_by_descriptor_digest() always
corresponds to an entry in the nodelist.  Fixes bug 25629.
changes/bug25629 [new file with mode: 0644]
src/or/nodelist.c