2
0
Эх сурвалжийг харах

* fixed crash in map_structured_asmlist_inner, when the TAsmList parameter is nil

Nikolay Nikolov 2 жил өмнө
parent
commit
ea18d11d41

+ 2 - 0
compiler/wasm32/aasmcpu.pas

@@ -2649,6 +2649,8 @@ uses
       var
         p, q: tai;
       begin
+        if not assigned(l) then
+          exit;
         p:=tai(l.First);
         while p<>nil do
           begin