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

Crash occurs when network is configured to NOT get DNS servers from DHCP #325

Open
cstarkj opened this issue Nov 25, 2019 · 0 comments
Open

Comments

@cstarkj
Copy link

cstarkj commented Nov 25, 2019

The crash occurs in deps/azure-c-shared-utility/adapters/socketio_berkeley.c at line 301. This is because addr->a_addr is a bad pointer and on my embedded linux device throws a segment fault

I realize this is a rather strange configuration and is very un-typical, but though maybe some additional error checks are needed here.

Our device allows for DNS entries to manually set even with DHCP turned on. if it has no DNS server defined, this occurs.

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

No branches or pull requests

1 participant