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
Seg-Fault in Windows on plugin-load-failure #1866
Comments
Thanks very much, I've pushed changes for the 1.6.x and develop branches. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
On Windows, if loading of a plugin fails, mosquitto (version 1.6.12) crashs with segmentation fault.
I debugged my MinGW64 build and found:
security.c, line 31 ff:
FORMAT_MESSAGE_FROM_STRING
causes Windows to interpret the consecutive NULL as valid pointer...Replaced by
FORMAT_MESSAGE_FROM_SYSTEM
, I've got a fancy message text.As I can see, this is not a MinGW-triggered issue.
The text was updated successfully, but these errors were encountered: