[PATCH 6.13 03/23] atm: Fix NULL pointer dereference