Skip to content

Commit

Permalink
fix sprintf buffer size warning
Browse files Browse the repository at this point in the history
  • Loading branch information
glennhickey committed Jun 14, 2022
1 parent 33879f3 commit 3dfd68b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sharedMaf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ void maf_mafBlock_print(mafBlock_t *m) {
mafLine_t* ml = maf_mafBlock_getHeadLine(m);
char *line = NULL;
uint64_t maxName = 1, maxStart = 1, maxLen = 1, maxSource = 1;
char fmtName[10] = "\0", fmtStart[32] = "\0", fmtLen[32] = "\0", fmtSource[32] = "\0", fmtLine[256] = "\0";
char fmtName[32] = "\0", fmtStart[32] = "\0", fmtLen[32] = "\0", fmtSource[32] = "\0", fmtLine[256] = "\0";
while (ml != NULL) {
line = maf_mafLine_getLine(ml);
if (line == NULL) {
Expand Down

0 comments on commit 3dfd68b

Please sign in to comment.