mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
Spotted another missing check
This commit is contained in:
parent
4080d9b0fa
commit
99062c4003
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ router_supports_extrainfo(const char *identity_digest, int is_authority)
|
|||
{
|
||||
const node_t *node = node_get_by_id(identity_digest);
|
||||
|
||||
if (node->ri) {
|
||||
if (node && node->ri) {
|
||||
if (node->ri->caches_extra_info)
|
||||
return 1;
|
||||
if (is_authority && node->ri->platform &&
|
||||
|
|
Loading…
Add table
Reference in a new issue