Thanks for your patch.
27 - if (!exec) 28 + if (!exec || exec[0] == '\0')
In the case that (exec[0] == '\0') you also need to free it.
Overall that's fine. Would you mind also to add a small test case into test-matcher.c?
« Back to merge proposal
Thanks for your patch.
27 - if (!exec)
28 + if (!exec || exec[0] == '\0')
In the case that (exec[0] == '\0') you also need to free it.
Overall that's fine. Would you mind also to add a small test case into test-matcher.c?