checkuninitvar: fixed possible null-pointer dereference. thanks orbitcowboy for spotting it.
This commit is contained in:
parent
f12c0c7ada
commit
b4be71aa4e
|
@ -391,7 +391,7 @@ private:
|
|||
else
|
||||
break;
|
||||
}
|
||||
if (tok3->strAt(1) == "=")
|
||||
if (tok3 && tok3->strAt(1) == "=")
|
||||
continue;
|
||||
}
|
||||
bool foundError;
|
||||
|
|
Loading…
Reference in New Issue