The current libxdc submodule version doesn't initialize the ip_callback member of the decoder. This is a workaround, that sets the callback pointer to NULL if we're not in debug mode or collecting coverage, so libxdc can recognize it's invalid before call.
I didn't report this to libxdc because their current version seems to have refactored this code completely.
The current libxdc submodule version doesn't initialize the
ip_callback
member of the decoder. This is a workaround, that sets the callback pointer to NULL if we're not in debug mode or collecting coverage, so libxdc can recognize it's invalid before call.I didn't report this to libxdc because their current version seems to have refactored this code completely.
This seems to fix #60 .