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

Prevent race collisions when parsing FTL config file #1222

Merged
merged 2 commits into from Oct 17, 2021

Commits on Oct 17, 2021

  1. Do not free linebuffer used for config parsing. This will increase th…

    …e overall memory consumption of FTL by a about 100 bytes, however, we do not need to allocate andfree when re-reading any runtime config lines (privacy mode, etc.).
    
    Signed-off-by: DL6ER <dl6er@dl6er.de>
    DL6ER committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    d73e195 View commit details
    Browse the repository at this point in the history
  2. Wrap parse_FTLconf() in mutex lock to prevent rare multi-thread race-…

    …collisions
    
    Signed-off-by: DL6ER <dl6er@dl6er.de>
    DL6ER committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    aaff4b6 View commit details
    Browse the repository at this point in the history