[PATCH 6.6 03/26] atm: Fix NULL pointer dereference