mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 04:09:15 +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;
|
RegBCSTZMMSizeMask := 0;
|
||||||
ExistsMemRef := false;
|
ExistsMemRef := false;
|
||||||
|
|
||||||
while (insentry^.opcode=AsmOp) do
|
while (insentry<=@instab[high(instab)]) and
|
||||||
|
(insentry^.opcode=AsmOp) do
|
||||||
begin
|
begin
|
||||||
MRefInfo := msiUnknown;
|
MRefInfo := msiUnknown;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user