Opened 13 months ago

Last modified 6 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 (3)

comment:1 Changed 7 months ago by neel

Cc: neel added
Owner: set to neel
Status: newassigned

comment:2 Changed 6 months ago by neel

Cc: neel removed
Owner: neel deleted

comment:3 Changed 6 months ago by neel

Status: assignednew
Note: See TracTickets for help on using tickets.