On 6/18/21 8:44 AM, Darren Kenny wrote: > It appears to be possible that the mctx->state_log field may be NULL How so? I don't see the execution path that would do that. If you can see how it could happen, please let us know. Otherwise, does the attached patch pacify Coverity, and if not why not? The DEBUG_ASSERT stuff does pacify GCC, as it tells GCC things that GCC isn't smart enough to figure out on its own. I hope Coverity can use similar advice.