The crash was due to a null pointer not tested.
@ -78,6 +78,14 @@ const DRC_CONSTRAINT* GetConstraint( const BOARD_ITEM* aItem, const BOARD_ITEM*
}
else
{
if( !rule->m_Condition )
if( aReporter )
aReporter->Report( _( "No condition found; rule not applied." ) );
return nullptr;
aReporter->Report( wxString::Format( _( "Checking rule condition \"%s\"." ),