Prevent reading from NULL
This commit is contained in:
parent
924dc10368
commit
d2177bbd69
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue