Closed vadz closed 2 months ago
@vadz this change was effectively incorporated in #21, so I think this PR can be closed.
Oops, sorry, I didn't notice the other PR. My change seems much simpler and more "obviously correct" to me but it's indeed probably not worth changing the code any more.
If no source outputs to ignore were specified on the command line, the array was left completely uninitialized, resulting in a crash later on while iterating over it until the first null pointer.
Fix this by ensuring that there is always a null pointer at the end.
See #18.
Without this fix the program just crashed on startup here.