Merge pull request #863 from tsingbx/llcppsigfetch/c.Printf

fix llcppsigfetch: invalid memory address or nil pointer dereference
This commit is contained in:
xushiwei
2024-11-12 15:29:38 +08:00
committed by GitHub

View File

@@ -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)
} }
} }