mirror of https://github.com/daffainfo/nuclei.git
fixing memory allocation for boolean pointer
parent
a908a1515a
commit
c807438ecd
|
@ -103,7 +103,8 @@ func (request *Request) Compile(options *protocols.ExecuterOptions) error {
|
|||
request.Retries = 3
|
||||
}
|
||||
if request.Recursion == nil {
|
||||
*request.Recursion = true
|
||||
recursion := true
|
||||
request.Recursion = &recursion
|
||||
}
|
||||
dnsClientOptions := &dnsclientpool.Configuration{
|
||||
Retries: request.Retries,
|
||||
|
|
Loading…
Reference in New Issue