Przeglądaj źródła

* Add length check

Michaël Van Canneyt 2 lat temu
rodzic
commit
0be4498284
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      rtl/inc/exeinfo.pp

+ 1 - 1
rtl/inc/exeinfo.pp

@@ -84,7 +84,7 @@ var
 
 begin
   ReadDebugLink:=ReadDebugLink(e,fn);
-  if ReadDebugLink then
+  if ReadDebugLink and (length(fn)<256) then
     dbgfn:=fn;
 end;