Unverified Commit adf5a699 by Christian Brauner Committed by Stéphane Graber

tests: avoid NULL pointer dereference

parent b1514e67
...@@ -188,6 +188,7 @@ int main(int argc, char *argv[]) { ...@@ -188,6 +188,7 @@ int main(int argc, char *argv[]) {
} }
modes[i] = tok; modes[i] = tok;
} }
if (modes)
modes[i] = NULL; modes[i] = NULL;
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment