mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 11:02:44 +00:00
PR: 7522
Correct bug in the inverse operator optimisation code which caused segv on ! without a following expression.
This commit is contained in:
parent
190693af18
commit
449cc391d9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38223
@ -190,7 +190,7 @@ not_squish(plan)
|
||||
int notlevel = 1;
|
||||
|
||||
node = yanknode(&plan);
|
||||
while (node->type == N_NOT) {
|
||||
while ((node != NULL) && (node->type == N_NOT)) {
|
||||
++notlevel;
|
||||
node = yanknode(&plan);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user