mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Do not crash when no desc is found
svn:r1546
This commit is contained in:
parent
9d38311ae3
commit
eaf7c61ebc
@ -720,7 +720,7 @@ int rend_services_init(void) {
|
||||
|
||||
/* If there's no need to republish, stop here. */
|
||||
now = time(NULL);
|
||||
if (!changed &&
|
||||
if (!changed && service->desc &&
|
||||
service->desc->timestamp+MAX_SERVICE_PUBLICATION_INTERVAL >= now)
|
||||
continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user