[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Add check when store disk cache
From: |
Arch Stack |
Subject: |
Add check when store disk cache |
Date: |
Fri, 18 Sep 2015 08:15:22 +0800 |
I found that the function grub_disk_cache_store didn't check for cache->lock before free cache->data, and didn't set cache->lock before memcpy something to cache->data. If multi thread handle with the same cache at the same time, it will cause a fault. I have created a patch for it.
0001-Add-check-when-store-disk-cache.patch
Description: Binary data
- Add check when store disk cache,
Arch Stack <=