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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user