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:
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: