diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-19 12:22:39 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-19 12:22:39 -0400 |
commit | c1092e9aab3aac5c26512872e80a53728bc0fdbc (patch) | |
tree | 313fa16a84b6e012c10d7c59f651fd9eea0ecddd /src | |
parent | 7253603e6b32ceb5f766017d95ac0a05002b5ed7 (diff) | |
parent | c9de65f96685fd54029f284a043cefd970061956 (diff) | |
download | tor-c1092e9aab3aac5c26512872e80a53728bc0fdbc.tar.gz tor-c1092e9aab3aac5c26512872e80a53728bc0fdbc.zip |
Merge remote-tracking branch 'ahf-github/bugs/26780'
Diffstat (limited to 'src')
-rw-r--r-- | src/feature/nodelist/networkstatus.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/nodelist/networkstatus.c b/src/feature/nodelist/networkstatus.c index e9d36cbdcb..f8623f826c 100644 --- a/src/feature/nodelist/networkstatus.c +++ b/src/feature/nodelist/networkstatus.c @@ -2417,6 +2417,8 @@ get_net_param_from_list(smartlist_t *net_params, const char *param_name, res = max_val; } + tor_assert(res >= min_val); + tor_assert(res <= max_val); return res; } |