When there's an empty line, with only '\n', on the playlist mpg321 will segfault on playlist.c -> trim_whitespace()
I've attached a patch which I believe solves the issue.
Prevents decremeting the counter if it's a string with size 1 and the single char is a space char
Log in to post a comment.
Prevents decremeting the counter if it's a string with size 1 and the single char is a space char