fix: add unrecoverable to avoid out of bound access

Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-10-09 09:30:26 +00:00
committed by Compute-Runtime-Automation
parent d76145ee65
commit a31dd7b454
9 changed files with 32 additions and 27 deletions

View File

@@ -161,7 +161,6 @@ class DrmMemoryManager : public MemoryManager {
std::unique_ptr<DrmGemCloseWorker> gemCloseWorker;
decltype(&mmap) mmapFunction = mmap;
decltype(&munmap) munmapFunction = munmap;
decltype(&lseek) lseekFunction = lseek;
decltype(&close) closeFunction = close;
std::vector<BufferObject *> sharingBufferObjects;
std::mutex mtx;