[Acc] [PATCH 02/20] uadk: fix for ctx region's end index rollover