[Acc] [PATCH 03/10] uadk_provider: fix some possible issues where empty memory is accessed