Merge remote-tracking branch 'ahf-github/bugs/26780'

This commit is contained in:
Nick Mathewson 2018-07-19 12:22:39 -04:00
commit c1092e9aab

View File

@ -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;
}