Re: [PATCH] file: ignore host disk in blocklist check

2015-09-19 Thread Arch Stack
ommand, so it just extends it to all commands. > > Reported-By: Arch Stack > Also-By: Arch Stack > > --- > grub-core/kern/file.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/grub-core/kern/file.c b/grub-core/kern/file.c > index 24da1

Re: Add check when store disk cache

2015-09-18 Thread Arch Stack
crash because of this reason. On Fri, Sep 18, 2015 at 12:03 PM, Andrei Borzenkov wrote: > 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 *cac

Add check when store disk cache

2015-09-17 Thread 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. I have created a patch for it. 000