Prevent reading from NULL

This commit is contained in:
Holger Vogt
2023-05-27 10:41:40 +02:00
parent 924dc10368
commit d2177bbd69
+5
View File
@@ -100,6 +100,11 @@ void com_optran(wordlist* wl) {
getdata = TRUE;
}
if (!getdata && !ft_curckt) {
/* no circuit, but optran already set */
return;
}
int saved = errno;
errno = 0;
nooptran = FALSE;