|
|
b8c5d4 |
--- a/services/authzone.c 2018-06-14 09:09:01.000000000 +0200
|
|
|
b8c5d4 |
+++ b/services/authzone.c 2020-04-16 18:55:50.806693241 +0200
|
|
|
b8c5d4 |
@@ -5139,7 +5139,7 @@
|
|
|
b8c5d4 |
log_assert(xfr->task_transfer);
|
|
|
b8c5d4 |
lock_basic_lock(&xfr->lock);
|
|
|
b8c5d4 |
env = xfr->task_transfer->env;
|
|
|
b8c5d4 |
- if(env->outnet->want_to_quit) {
|
|
|
b8c5d4 |
+ if(!env || env->outnet->want_to_quit) {
|
|
|
b8c5d4 |
lock_basic_unlock(&xfr->lock);
|
|
|
b8c5d4 |
return; /* stop on quit */
|
|
|
b8c5d4 |
}
|
|
|
b8c5d4 |
@@ -5558,7 +5558,7 @@
|
|
|
b8c5d4 |
log_assert(xfr->task_transfer);
|
|
|
b8c5d4 |
lock_basic_lock(&xfr->lock);
|
|
|
b8c5d4 |
env = xfr->task_transfer->env;
|
|
|
b8c5d4 |
- if(env->outnet->want_to_quit) {
|
|
|
b8c5d4 |
+ if(!env || env->outnet->want_to_quit) {
|
|
|
b8c5d4 |
lock_basic_unlock(&xfr->lock);
|
|
|
b8c5d4 |
return 0; /* stop on quit */
|
|
|
b8c5d4 |
}
|
|
|
b8c5d4 |
@@ -5619,7 +5619,7 @@
|
|
|
b8c5d4 |
log_assert(xfr->task_transfer);
|
|
|
b8c5d4 |
lock_basic_lock(&xfr->lock);
|
|
|
b8c5d4 |
env = xfr->task_transfer->env;
|
|
|
b8c5d4 |
- if(env->outnet->want_to_quit) {
|
|
|
b8c5d4 |
+ if(!env || env->outnet->want_to_quit) {
|
|
|
b8c5d4 |
lock_basic_unlock(&xfr->lock);
|
|
|
b8c5d4 |
return 0; /* stop on quit */
|
|
|
b8c5d4 |
}
|
|
|
b8c5d4 |
@@ -5798,7 +5798,7 @@
|
|
|
b8c5d4 |
log_assert(xfr->task_probe);
|
|
|
b8c5d4 |
lock_basic_lock(&xfr->lock);
|
|
|
b8c5d4 |
env = xfr->task_probe->env;
|
|
|
b8c5d4 |
- if(env->outnet->want_to_quit) {
|
|
|
b8c5d4 |
+ if(!env || env->outnet->want_to_quit) {
|
|
|
b8c5d4 |
lock_basic_unlock(&xfr->lock);
|
|
|
b8c5d4 |
return; /* stop on quit */
|
|
|
b8c5d4 |
}
|
|
|
b8c5d4 |
@@ -5829,7 +5829,7 @@
|
|
|
b8c5d4 |
log_assert(xfr->task_probe);
|
|
|
b8c5d4 |
lock_basic_lock(&xfr->lock);
|
|
|
b8c5d4 |
env = xfr->task_probe->env;
|
|
|
b8c5d4 |
- if(env->outnet->want_to_quit) {
|
|
|
b8c5d4 |
+ if(!env || env->outnet->want_to_quit) {
|
|
|
b8c5d4 |
lock_basic_unlock(&xfr->lock);
|
|
|
b8c5d4 |
return 0; /* stop on quit */
|
|
|
b8c5d4 |
}
|
|
|
b8c5d4 |
@@ -6030,7 +6030,7 @@
|
|
|
b8c5d4 |
log_assert(xfr->task_probe);
|
|
|
b8c5d4 |
lock_basic_lock(&xfr->lock);
|
|
|
b8c5d4 |
env = xfr->task_probe->env;
|
|
|
b8c5d4 |
- if(env->outnet->want_to_quit) {
|
|
|
b8c5d4 |
+ if(!env || env->outnet->want_to_quit) {
|
|
|
b8c5d4 |
lock_basic_unlock(&xfr->lock);
|
|
|
b8c5d4 |
return; /* stop on quit */
|
|
|
b8c5d4 |
}
|
|
|
b8c5d4 |
@@ -6089,7 +6089,7 @@
|
|
|
b8c5d4 |
log_assert(xfr->task_nextprobe);
|
|
|
b8c5d4 |
lock_basic_lock(&xfr->lock);
|
|
|
b8c5d4 |
env = xfr->task_nextprobe->env;
|
|
|
b8c5d4 |
- if(env->outnet->want_to_quit) {
|
|
|
b8c5d4 |
+ if(!env || env->outnet->want_to_quit) {
|
|
|
b8c5d4 |
lock_basic_unlock(&xfr->lock);
|
|
|
b8c5d4 |
return; /* stop on quit */
|
|
|
b8c5d4 |
}
|