]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix an always-false check with an assertion
authorNick Mathewson <nickm@torproject.org>
Tue, 1 Sep 2015 13:52:46 +0000 (09:52 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 1 Sep 2015 13:52:46 +0000 (09:52 -0400)
commitf4ded2cdc98f46817c381fc633e3161d52f75242
tree158c206b999eaf5b0b8c7476ced705f951ccd16c
parentb977a570c4fea136910fb9f41fd57b9ba3e34699
Fix an always-false check with an assertion

In validate_recommended_package_line, at this point in the function,
n_entries is always >= 1.  Coverity doesn't like us checking it for
0.

CID 1268063.
src/or/dirserv.c