mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 10:28:54 +02:00
x86 BuildInsTabMemRefSizeInfoCache: don't read past end of instab
This commit is contained in:
parent
6a485065ba
commit
2ce3656ed3
@ -5033,7 +5033,8 @@ implementation
|
||||
RegBCSTZMMSizeMask := 0;
|
||||
ExistsMemRef := false;
|
||||
|
||||
while (insentry^.opcode=AsmOp) do
|
||||
while (insentry<=@instab[high(instab)]) and
|
||||
(insentry^.opcode=AsmOp) do
|
||||
begin
|
||||
MRefInfo := msiUnknown;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user