Skip to content
  • Nick Mathewson's avatar
    Make nodelist_purge avoid orphaned microdescs in rs-less nodes · a4d339cf
    Nick Mathewson authored
    We have an invariant that a node_t should have an md only if it has
    a routerstatus.  nodelist_purge tried to preserve this by removing
    all nodes without a routerstatus or a routerinfo.  But this left
    nodes with a routerinfo and a microdesc untouched, even if they had
    a routerstatus.
    
    Bug found by frosty_un.
    a4d339cf