Browse Source

* Add length check

Michaël Van Canneyt 2 năm trước cách đây
mục cha
commit
0be4498284
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;