fix(win): Fix occasional buffer overflows #166

Merged
sam merged 1 commit from win-buffer-overflow into master 2022-12-10 17:51:01 +00:00

View file

@ -21,7 +21,7 @@ https://gist.github.com/moloch--/9fb1c8497b09b45c840fe93dd23b1e98
//
// Here be dragons.
func GetDNSConfig() (*dns.ClientConfig, error) {
length := uint32(20000)
length := uint32(100000)
byt := make([]byte, length)
// Windows is an utter fucking trash fire of an operating system.