struct protected_application_t *getCurrentProtectedApplication() should be corrected