[Acc] [[PATCH] 5/5] ecc: bugfix potential null dereference problems