Missed NULL pointer checks for MF7_CAUSEPAIN additions

I think that was the intention of having NULL... See this line?