Fix the null reference vulnerability.

This commit is contained in:
qiuweibin
2025-03-17 00:50:16 +00:00
parent 21a351b0ed
commit 3e631d4983

View File

@@ -90,7 +90,7 @@ int checkout_count_callback(
if (ct->debug) {
if (workdir)
fprintf(stderr, "M %s\n", workdir->path);
else
else if(baseline)
fprintf(stderr, "D %s\n", baseline->path);
}
}