Opened 3 months ago

#31832 new defect

Coverage flapping in hs_get_responsible_hsdirs()

Reported by: teor Owned by:
Priority: Low Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Minor Keywords: tor-hs
Cc: asn, dgoulet Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

We should use the random seed to generate these values, so this line is always executed:

    /* Getting the length of the list if no member is greater than the key we
     * are looking for so start at the first element. */
    if (idx == smartlist_len(sorted_nodes)) {
UNCOV start = idx = 0;
    }

Child Tickets

Change History (0)

Note: See TracTickets for help on using tickets.