Jiang Liu 2bf606cd90 GPU/FIFO: avoid possible invalid memory accesses
1) ensure pKernelFifo->ppChidMgr[i]->pChanGrpTree is successfully
   allocated in function kfifoChidMgrConstruct_IMPL(), otherwise
   it may cause invalid memory access when calling mapFine().
2) only invoke mapDestroy() when pKernelFifo->ppChidMgr[i]->pChanGrpTree
   is not NULL in function kfifoChidMgrDestruct_IMPL(), otherwise
   it may cause invalid memory access.
3) ensure pChidMgr is valid in function kfifoGetChannelGroup_IMPL().

Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
2024-06-06 10:06:08 +08:00
..
2024-06-04 13:48:03 +02:00
2024-03-19 16:56:28 +01:00