-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
sample/helper/vpuhelper.c:1679:65: error: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 1 and 256 [-Werror=format-truncation=]
1679 | snprintf(pEncConfig->yuvFileName, MAX_FILE_PATH, "%s%s", yuvDir, pCfg->SrcFileName);
| ^~
sample/helper/vpuhelper.c:1679:13: note: ‘snprintf’ output between 1 and 511 bytes into a destination of size 256
1679 | snprintf(pEncConfig->yuvFileName, MAX_FILE_PATH, "%s%s", yuvDir, pCfg->SrcFileName);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-Wall -Werror should be changed in WaveDecode_buildroot.mak
Metadata
Metadata
Assignees
Labels
No labels