Merge pull request #863 from tsingbx/llcppsigfetch/c.Printf
fix llcppsigfetch: invalid memory address or nil pointer dereference
This commit is contained in:
@@ -204,7 +204,7 @@ func outputResult(result *c.Char, outputToFile bool) {
|
|||||||
}
|
}
|
||||||
fmt.Fprintf(os.Stderr, "Results saved to %s\n", outputFile)
|
fmt.Fprintf(os.Stderr, "Results saved to %s\n", outputFile)
|
||||||
} else {
|
} else {
|
||||||
c.Printf(result)
|
c.Printf(c.Str("%s"), result)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user