cid#1500573 silence Untrusted loop bound

Change-Id: Ic932ba264e6e593ac8e5432fa9afd440ff1aa2d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130898
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara
2022-03-03 10:15:26 +01:00
parent 96e3a64125
commit 896c097f1f
+1
View File
@@ -67,6 +67,7 @@ void add_include(struct filepointer *filep, struct inclist *file, struct inclist
if (!newfile->i_searched) {
newfile->i_searched = TRUE;
content = getfile(newfile->i_file);
// coverity[tainted_data] - this is a build time tool
find_includes(content, newfile, file_red, 0, failOK, incCollection, symbols);
freefile(content);
}