TechnitiumSoftware / DnsServer

Technitium DNS Server
https://technitium.com/dns/
GNU General Public License v3.0
4.25k stars 418 forks source link

Arithmetic operation resulted in an overflow. #214

Closed liang-hiwin closed 3 years ago

liang-hiwin commented 3 years ago
 at DnsServerCore.Dns.Zones.DomainTree`1.ConvertKeyToLabel(Byte[] key, Int32 startIndex) in Z:\Technitium\Projects\DnsServer\DnsServerCore\Dns\Zones\DomainTree.cs:line 161
   at DnsServerCore.Dns.Zones.ZoneTree`1.ListSubDomains(String domain) in Z:\Technitium\Projects\DnsServer\DnsServerCore\Dns\Zones\ZoneTree.cs:line 516
   at DnsServerCore.WebService.ListCachedZones(HttpListenerRequest request, JsonTextWriter jsonWriter) in Z:\Technitium\Projects\DnsServer\DnsServerCore\WebService.cs:line 2679
   at DnsServerCore.WebService.ProcessRequestAsync(HttpListenerRequest request, HttpListenerResponse response) in Z:\Technitium\Projects\DnsServer\DnsServerCore\WebService.cs:line 652
[2021-01-02 23:56:57 Local] [113.118.47.143:12636] System.OverflowException: Arithmetic operation resulted in an overflow.
   at DnsServerCore.Dns.Zones.DomainTree`1.ConvertKeyToLabel(Byte[] key, Int32 startIndex) in Z:\Technitium\Projects\DnsServer\DnsServerCore\Dns\Zones\DomainTree.cs:line 161
   at DnsServerCore.Dns.Zones.ZoneTree`1.ListSubDomains(String domain) in Z:\Technitium\Projects\DnsServer\DnsServerCore\Dns\Zones\ZoneTree.cs:line 516
   at DnsServerCore.WebService.ListCachedZones(HttpListenerRequest request, JsonTextWriter jsonWriter) in Z:\Technitium\Projects\DnsServer\DnsServerCore\WebService.cs:line 2679
   at DnsServerCore.WebService.ProcessRequestAsync(HttpListenerRequest request, HttpListenerResponse response) in Z:\Technitium\Projects\DnsServer\DnsServerCore\WebService.cs:line 652
[2021-01-02 23:56:58 Local] [113.118.47.143:12636] System.OverflowException: Arithmetic operation resulted in an overflow.
   at DnsServerCore.Dns.Zones.DomainTree`1.ConvertKeyToLabel(Byte[] key, Int32 startIndex) in Z:\Technitium\Projects\DnsServer\DnsServerCore\Dns\Zones\DomainTree.cs:line 161
   at DnsServerCore.Dns.Zones.ZoneTree`1.ListSubDomains(String domain) in Z:\Technitium\Projects\DnsServer\DnsServerCore\Dns\Zones\ZoneTree.cs:line 516
   at DnsServerCore.WebService.ListCachedZones(HttpListenerRequest request, JsonTextWriter jsonWriter) in Z:\Technitium\Projects\DnsServer\DnsServerCore\WebService.cs:line 2679
   at DnsServerCore.WebService.ProcessRequestAsync(HttpListenerRequest request, HttpListenerResponse response) in Z:\Technitium\Projects\DnsServer\DnsServerCore\WebService.cs:line 652
[2021-01-02 23:56:58 Local] [113.118.47.143:12636] System.OverflowException: Arithmetic operation resulted in an overflow.
   at DnsServerCore.Dns.Zones.DomainTree`1.ConvertKeyToLabel(Byte[] key, Int32 startIndex) in Z:\Technitium\Projects\DnsServer\DnsServerCore\Dns\Zones\DomainTree.cs:line 161
   at DnsServerCore.Dns.Zones.ZoneTree`1.ListSubDomains(String domain) in Z:\Technitium\Projects\DnsServer\DnsServerCore\Dns\Zones\ZoneTree.cs:line 516
   at DnsServerCore.WebService.ListCachedZones(HttpListenerRequest request, JsonTextWriter jsonWriter) in Z:\Technitium\Projects\DnsServer\DnsServerCore\WebService.cs:line 2679
   at DnsServerCore.WebService.ProcessRequestAsync(HttpListenerRequest request, HttpListenerResponse response) in Z:\Technitium\Projects\DnsServer\DnsServerCore\WebService.cs:line 652
[2021-01-02 23:56:59 Local] [113.118.47.143:12636] System.OverflowException: Arithmetic operation resulted in an overflow.
   at DnsServerCore.Dns.Zones.DomainTree`1.ConvertKeyToLabel(Byte[] key, Int32 startIndex) in Z:\Technitium\Projects\DnsServer\DnsServerCore\Dns\Zones\DomainTree.cs:line 161
   at DnsServerCore.Dns.Zones.ZoneTree`1.ListSubDomains(String domain) in Z:\Technitium\Projects\DnsServer\DnsServerCore\Dns\Zones\ZoneTree.cs:line 516
   at DnsServerCore.WebService.ListCachedZones(HttpListenerRequest request, JsonTextWriter jsonWriter) in Z:\Technitium\Projects\DnsServer\DnsServerCore\WebService.cs:line 2679
   at DnsServerCore.WebService.ProcessRequestAsync(HttpListenerRequest request, HttpListenerResponse response) in Z:\Technitium\Projects\DnsServer\DnsServerCore\WebService.cs:line 652
[2021-01-02 23:56:59 Local] [113.118.47.143:12636] System.OverflowException: Arithmetic operation resulted in an overflow.
   at DnsServerCore.Dns.Zones.DomainTree`1.ConvertKeyToLabel(Byte[] key, Int32 startIndex) in Z:\Technitium\Projects\DnsServer\DnsServerCore\Dns\Zones\DomainTree.cs:line 161
   at DnsServerCore.Dns.Zones.ZoneTree`1.ListSubDomains(String domain) in Z:\Technitium\Projects\DnsServer\DnsServerCore\Dns\Zones\ZoneTree.cs:line 516
   at DnsServerCore.WebService.ListCachedZones(HttpListenerRequest request, JsonTextWriter jsonWriter) in Z:\Technitium\Projects\DnsServer\DnsServerCore\WebService.cs:line 2679
   at DnsServerCore.WebService.ProcessRequestAsync(HttpListenerRequest request, HttpListenerResponse response) in Z:\Technitium\Projects\DnsServer\DnsServerCore\WebService.cs:line 652
ShreyasZare commented 3 years ago

Thanks for the details. Will try to get this fixed.

liang-hiwin commented 3 years ago

Thanks for the details. Will try to get this fixed.

ok

ShreyasZare commented 3 years ago

New update v6.0 is now available for download which fixes this issue.