|
From: | Arch Stack |
Subject: | Re: Add check when store disk cache |
Date: | Fri, 18 Sep 2015 17:07:24 +0800 |
18.09.2015 03:15, Arch Stack пишет:
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.
Do you actually observe a problem or it is pure hypothesis? GRUB does not run multi-threaded and probably never will.
I have created a patch
for it.
_______________________________________________
Grub-devel mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/grub-devel
_______________________________________________
Grub-devel mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/grub-devel
[Prev in Thread] | Current Thread | [Next in Thread] |