Details
Description
I just had the weird effect that adding a STATUS variable to an already working audit plugin made the server crash on plugin_init()
After stripping things down I ended up with a minimal daemon plugin that only defines one status variable and two config variables.
The crash only happens if:
- st_mysql_sys_var declared before st_mysql_show_var
- at least two st_mysql_sys_var entries
If i comment out the 2nd sys_var entry or rearrange code
it doesn't crash anymore ...
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Forget it, it was just the NULL terminator at the end of the st_mysql_sys_var list missing ...
I THINK I've taken this from an example that didn't have the NULL either, but that is something to report against the example source and not in the scope of this report ...