Skip to content

Commit 1052452

Browse files
authored
Merge pull request #1897 from CEED/zach/minor-security-fix
2 parents 57af422 + df1daa6 commit 1052452

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

interface/ceed-operator.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1622,18 +1622,18 @@ static int CeedOperatorView_Core(CeedOperator op, FILE *stream, bool is_full) {
16221622

16231623
CeedCall(CeedOperatorCompositeGetNumSub(op, &num_suboperators));
16241624
CeedCall(CeedOperatorCompositeGetSubList(op, &sub_operators));
1625-
fprintf(stream, tabs);
1625+
fprintf(stream, "%s", tabs);
16261626
fprintf(stream, "Composite CeedOperator%s%s\n", has_name ? " - " : "", has_name ? name : "");
16271627
for (CeedInt i = 0; i < tab_width; i++) tabs[tab_width * num_tabs + i] = ' ';
16281628
for (CeedInt i = 0; i < num_suboperators; i++) {
16291629
has_name = sub_operators[i]->name;
1630-
fprintf(stream, tabs);
1630+
fprintf(stream, "%s", tabs);
16311631
fprintf(stream, "SubOperator%s %" CeedInt_FMT "%s%s%s\n", is_at_points ? " AtPoints" : "", i, has_name ? " - " : "",
16321632
has_name ? sub_operators[i]->name : "", is_full ? ":" : "");
16331633
if (is_full) CeedCall(CeedOperatorSingleView(sub_operators[i], tabs, stream));
16341634
}
16351635
} else {
1636-
fprintf(stream, tabs);
1636+
fprintf(stream, "%s", tabs);
16371637
fprintf(stream, "CeedOperator%s%s%s\n", is_at_points ? " AtPoints" : "", has_name ? " - " : "", has_name ? name : "");
16381638
if (is_full) CeedCall(CeedOperatorSingleView(op, tabs, stream));
16391639
}

0 commit comments

Comments
 (0)