error_resilience: guess_dc: check malloc failure