Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jack_lsp: Fix buffer overflow for --server argument
In the copied `optarg` there are only chars from the argument, no string termination `\0` char. That causes the following code to go beyond the variable memory bound. This change adds one extra char allocation for the `server_name` variable and puts `\0` string termination char to the last char. Fixes jackaudio#88
- Loading branch information