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

fix crash when reading a conf file #2068

Merged
merged 1 commit into from
May 10, 2022
Merged

fix crash when reading a conf file #2068

merged 1 commit into from
May 10, 2022

Conversation

anthyz
Copy link
Contributor

@anthyz anthyz commented May 10, 2022

I have rtl_433 running on an RPi4 in a docker container based on debian buster-slim, and when I use a .conf file to specify options, rtl_433 crashes if I try to set up an rtl_tcp output. I dug down a bit and found that a strncmp() in parse_conf_option() blows up because optarg is NULL when reading a conf file.

@zuckschwerdt
Copy link
Collaborator

Uhh, good catch, thanks! That's been there unnoticed since #871

@zuckschwerdt zuckschwerdt merged commit de4f081 into merbanan:master May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants