Prevent reading from NULL
This commit is contained in:
parent
924dc10368
commit
d2177bbd69
|
|
@ -100,6 +100,11 @@ void com_optran(wordlist* wl) {
|
||||||
getdata = TRUE;
|
getdata = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!getdata && !ft_curckt) {
|
||||||
|
/* no circuit, but optran already set */
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
int saved = errno;
|
int saved = errno;
|
||||||
errno = 0;
|
errno = 0;
|
||||||
nooptran = FALSE;
|
nooptran = FALSE;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue