fix off-by-one error in disk cache, existing at least since r580
git-svn-id: svn://kolibrios.org@4133 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
e8f2803376
commit
89f9caf0b6
@ -512,7 +512,7 @@ disk_init_cache:
|
|||||||
|
|
||||||
push edi
|
push edi
|
||||||
mov edi, [esi+DISK.SysCache.pointer]
|
mov edi, [esi+DISK.SysCache.pointer]
|
||||||
lea ecx, [ecx*3]
|
lea ecx, [(ecx+1)*3]
|
||||||
xor eax, eax
|
xor eax, eax
|
||||||
rep stosd
|
rep stosd
|
||||||
pop edi
|
pop edi
|
||||||
@ -527,7 +527,7 @@ disk_init_cache:
|
|||||||
|
|
||||||
push edi
|
push edi
|
||||||
mov edi, [esi+DISK.AppCache.pointer]
|
mov edi, [esi+DISK.AppCache.pointer]
|
||||||
lea ecx, [ecx*3]
|
lea ecx, [(ecx+1)*3]
|
||||||
xor eax, eax
|
xor eax, eax
|
||||||
rep stosd
|
rep stosd
|
||||||
pop edi
|
pop edi
|
||||||
|
Loading…
Reference in New Issue
Block a user