|
@@ -2890,6 +2890,11 @@ implementation
|
|
InputError('Memory index other than 0 not supported (got ' + tostr(MemIdx) + ')');
|
|
InputError('Memory index other than 0 not supported (got ' + tostr(MemIdx) + ')');
|
|
exit;
|
|
exit;
|
|
end;
|
|
end;
|
|
|
|
+ if not Active then
|
|
|
|
+ begin
|
|
|
|
+ InputError('Passive memory segments not supported');
|
|
|
|
+ exit;
|
|
|
|
+ end;
|
|
if not ReadUleb32(Len) then
|
|
if not ReadUleb32(Len) then
|
|
begin
|
|
begin
|
|
InputError('Error reading data segment length');
|
|
InputError('Error reading data segment length');
|