[Acc] [PATCH 10/20] uadk: fix possible access beyond array