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

tests: avoid NULL pointer dereference

parent b1514e67
......@@ -188,7 +188,8 @@ int main(int argc, char *argv[]) {
}
modes[i] = tok;
}
modes[i] = NULL;
if (modes)
modes[i] = NULL;
break;
}
default: /* '?' */
......
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