[Acc] [PATCH 06/24] uadk_provider: add length check for input pointer