fix(win): Make buffer very large
This fixes a problem I have had where I get the following message sometimes: Error: config, windows: The file name is too long. Delv says it is a buffer overflow so this fixes it TODO: Make actually good
This commit is contained in:
parent
4349aec1f2
commit
520991f63f
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue