Skip to content

Commit 5b64d50

Browse files
committed
fixup! scalar diagnose: include shared cache info
1 parent 7cf2947 commit 5b64d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diagnose.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ int create_diagnostics_archive(struct repository *r,
332332
res = error_errno(_("could not read '%s'"), path.buf);
333333
goto diagnose_cleanup;
334334
}
335-
strvec_push(&archiver_args, buf.buf);
335+
strvec_push(&archiver_args, buf.buf); // CodeQL [SM01932] justification: CodeQL is wrong here because the value is read from a file via strbuf_read() which does NUL-terminate the string, something CodeQL fails to understand
336336
}
337337
closedir(dir);
338338
}

0 commit comments

Comments
 (0)