Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jack_lsp: Fix buffer overflow for --server argument #89

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jun 13, 2024

  1. 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
    unclechu committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    62aeea4 View commit details
    Browse the repository at this point in the history