Browse Source

* Max len 3 per number in dotted quad

git-svn-id: trunk@45368 -
michael 5 năm trước cách đây
mục cha
commit
08cb5b7665
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      packages/rtl-extra/src/inc/sockets.inc

+ 2 - 0
packages/rtl-extra/src/inc/sockets.inc

@@ -328,6 +328,8 @@ begin
         end
        else
          Dummy:=IP;
+      if Length(Dummy)>3 then 
+        exit;   
       Val (Dummy,k,J);
       If J<>0 then
         exit;