mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
Fix the null reference vulnerability.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user