[PATCH 6.1 342/634] char: applicom: fix NULL pointer dereference in ac_ioctl