]> git.ipfire.org Git - thirdparty/tor.git/commit
Tweak assertion in get_time_period_length() for coverity
authorNick Mathewson <nickm@torproject.org>
Fri, 20 Jul 2018 15:02:05 +0000 (11:02 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 20 Jul 2018 15:02:07 +0000 (11:02 -0400)
commit9ae35975402a823a420cd5efb81a1c3a76f6c4d6
tree04c963ca8662a8c8322ae000aa10998823eaf4c3
parent583df33e2079c6f7b5e0ebe34b5f29d8739a673b
Tweak assertion in get_time_period_length() for coverity

This is another attempt to fix 1437668.  The assertion here should
be safe, since the rules of networkstatus_get_param() keep the value
it returns in range.
src/feature/hs/hs_common.c