[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add check when store disk cache

From: Andrei Borzenkov
Subject: Re: Add check when store disk cache
Date: Fri, 18 Sep 2015 07:03:33 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]