Skip to content

Arduino: Crash when calling ModbusTCPServer.begin() #75

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

Closed
kscholty opened this issue Nov 19, 2021 · 0 comments · Fixed by #76
Closed

Arduino: Crash when calling ModbusTCPServer.begin() #75

kscholty opened this issue Nov 19, 2021 · 0 comments · Fixed by #76
Labels
type: imperfection Perceived defect in any part of project

Comments

@kscholty
Copy link
Contributor

ModbusTCPServer.begin() initializes the client in the libmodbus data structure with NULL and
then calls close() which in turn tries to call the client's stop function.
This leads to a NULL-Pointer access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants