libavif-1.0.4-3.fc41
List of Defects
Error: CPPCHECK_WARNING: [#def1]
libavif-1.0.4-build/libavif-1.0.4/apps/avifdec.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def2]
libavif-1.0.4-build/libavif-1.0.4/apps/avifdec.c:336:9: warning[deadcode.DeadStores]: Value stored to 'result' is never read
# 334| printf("[--ignore-icc] Discarding ICC profile.\n");
# 335| // This cannot fail.
# 336|-> result = avifImageSetProfileICC(decoder->image, NULL, 0);
# 337| assert(result == AVIF_RESULT_OK);
# 338| }
Error: CPPCHECK_WARNING: [#def3]
libavif-1.0.4-build/libavif-1.0.4/apps/avifenc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
libavif-1.0.4-build/libavif-1.0.4/apps/avifenc.c: scope_hint: In function ‘main’
libavif-1.0.4-build/libavif-1.0.4/apps/avifenc.c:1151:56: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘input.files’
# 1149| while (argIndex < argc) {
# 1150| arg = argv[argIndex];
# 1151|-> input.files[input.filesCount].filename = arg;
# 1152| input.files[input.filesCount].duration = settings.outputTiming.duration;
# 1153| ++input.filesCount;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def5]
libavif-1.0.4-build/libavif-1.0.4/apps/avifenc.c:1483:52: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘input.files’
# 1481| } else {
# 1482| // Positional argument
# 1483|-> input.files[input.filesCount].filename = arg;
# 1484| input.files[input.filesCount].duration = settings.outputTiming.duration;
# 1485| ++input.filesCount;
Error: CLANG_WARNING: [#def6]
libavif-1.0.4-build/libavif-1.0.4/apps/avifenc.c:1865:17: warning[deadcode.DeadStores]: Although the value stored to 'nextFile' is used in the enclosing expression, the value is never actually read from 'nextFile'
# 1863| int imageIndex = 1; // The first grid cell was loaded into image (imageIndex 0).
# 1864| const avifInputFile * nextFile;
# 1865|-> while ((nextFile = avifInputGetFile(&input, imageIndex)) != NULL) {
# 1866| if (imageIndex == 1) {
# 1867| printf("Loading additional cells for grid image (%u cells)...\n", gridCellCount);
Error: CPPCHECK_WARNING: [#def7]
libavif-1.0.4-build/libavif-1.0.4/apps/shared/avifjpeg.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
libavif-1.0.4-build/libavif-1.0.4/apps/shared/avifpng.c: scope_hint: In function ‘avifPNGRead’
libavif-1.0.4-build/libavif-1.0.4/apps/shared/avifpng.c:475:17: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)rgb.height * 8)’
/usr/include/libpng16/pngconf.h:51: included_from: Included from here.
/usr/include/libpng16/png.h:335: included_from: Included from here.
libavif-1.0.4-build/libavif-1.0.4/apps/shared/avifpng.c:9: included_from: Included from here.
# 473| goto cleanup;
# 474| }
# 475|-> rowPointers = (png_bytep *)malloc(sizeof(png_bytep) * rgb.height);
# 476| for (uint32_t y = 0; y < rgb.height; ++y) {
# 477| rowPointers[y] = &rgb.pixels[y * rgb.rowBytes];
Error: GCC_ANALYZER_WARNING (CWE-775): [#def9]
libavif-1.0.4-build/libavif-1.0.4/apps/shared/avifpng.c: scope_hint: In function ‘avifPNGWrite’
libavif-1.0.4-build/libavif-1.0.4/apps/shared/avifpng.c:576:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outputFilename, "wb")’
# 574|
# 575| f = fopen(outputFilename, "wb");
# 576|-> if (!f) {
# 577| fprintf(stderr, "Can't open PNG file for write: %s\n", outputFilename);
# 578| goto cleanup;
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
libavif-1.0.4-build/libavif-1.0.4/apps/shared/avifpng.c:576:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outputFilename, "wb")’
# 574|
# 575| f = fopen(outputFilename, "wb");
# 576|-> if (!f) {
# 577| fprintf(stderr, "Can't open PNG file for write: %s\n", outputFilename);
# 578| goto cleanup;
Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
libavif-1.0.4-build/libavif-1.0.4/apps/shared/avifpng.c:700:9: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*avif.height * 8)’
# 698|
# 699| rowPointers = (png_bytep *)malloc(sizeof(png_bytep) * avif->height);
# 700|-> if (monochrome8bit) {
# 701| uint8_t * yPlane = avif->yuvPlanes[AVIF_CHAN_Y];
# 702| uint32_t yRowBytes = avif->yuvRowBytes[AVIF_CHAN_Y];
Error: CPPCHECK_WARNING: [#def12]
libavif-1.0.4-build/libavif-1.0.4/apps/shared/avifutil.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def13]
libavif-1.0.4-build/libavif-1.0.4/apps/shared/iccjpeg.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def14]
libavif-1.0.4-build/libavif-1.0.4/apps/shared/iccmaker.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def15]
libavif-1.0.4-build/libavif-1.0.4/apps/shared/iccmaker.c:254:23: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 252| static void matMul(const double A[3][3], const double B[3][3], double C[3][3])
# 253| {
# 254|-> C[0][0] = A[0][0] * B[0][0] + A[0][1] * B[1][0] + A[0][2] * B[2][0];
# 255| C[0][1] = A[0][0] * B[0][1] + A[0][1] * B[1][1] + A[0][2] * B[2][1];
# 256| C[0][2] = A[0][0] * B[0][2] + A[0][1] * B[1][2] + A[0][2] * B[2][2];
Error: CPPCHECK_WARNING: [#def16]
libavif-1.0.4-build/libavif-1.0.4/apps/shared/y4m.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def17]
libavif-1.0.4-build/libavif-1.0.4/contrib/gdk-pixbuf/loader.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def18]
libavif-1.0.4-build/libavif-1.0.4/src/alpha.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def19]
libavif-1.0.4-build/libavif-1.0.4/src/avif.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def20]
libavif-1.0.4-build/libavif-1.0.4/src/avif.c: scope_hint: In function ‘avifImageCopySamples’
libavif-1.0.4-build/libavif-1.0.4/src/avif.c:220:13: warning[-Wanalyzer-null-argument]: use of NULL ‘dstRow’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 218| const size_t planeWidthBytes = planeWidth * bytesPerPixel;
# 219| for (uint32_t y = 0; y < planeHeight; ++y) {
# 220|-> memcpy(dstRow, srcRow, planeWidthBytes);
# 221| srcRow += srcRowBytes;
# 222| dstRow += dstRowBytes;
Error: CPPCHECK_WARNING: [#def21]
libavif-1.0.4-build/libavif-1.0.4/src/codec_aom.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def22]
libavif-1.0.4-build/libavif-1.0.4/src/codec_aom.c:798:9: warning[deadcode.DeadStores]: Value stored to 'quantizerUpdated' is never read
# 796| cfg->rc_min_quantizer = minQuantizer;
# 797| cfg->rc_max_quantizer = maxQuantizer;
# 798|-> quantizerUpdated = AVIF_TRUE;
# 799|
# 800| aom_codec_flags_t encoderFlags = 0;
Error: CPPCHECK_WARNING: [#def23]
libavif-1.0.4-build/libavif-1.0.4/src/codec_dav1d.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def24]
libavif-1.0.4-build/libavif-1.0.4/src/codec_rav1e.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def25]
libavif-1.0.4-build/libavif-1.0.4/src/codec_svt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def26]
libavif-1.0.4-build/libavif-1.0.4/src/exif.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def27]
libavif-1.0.4-build/libavif-1.0.4/src/io.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def28]
libavif-1.0.4-build/libavif-1.0.4/src/obu.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def29]
libavif-1.0.4-build/libavif-1.0.4/src/read.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def30]
libavif-1.0.4-build/libavif-1.0.4/src/reformat.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def31]
libavif-1.0.4-build/libavif-1.0.4/src/reformat.c:780:30: warning[core.NullDereference]: Array access (from variable 'ptrA8') results in a null pointer dereference
# 778| uint16_t unormA;
# 779| if (image->depth == 8) {
# 780|-> unormA = ptrA8[i];
# 781| } else {
# 782| unormA = AVIF_MIN(ptrA16[i], yuvMaxChannel);
Error: CLANG_WARNING: [#def32]
libavif-1.0.4-build/libavif-1.0.4/src/reformat.c:782:30: warning[core.NullDereference]: Array access (from variable 'ptrA16') results in a null pointer dereference
# 780| unormA = ptrA8[i];
# 781| } else {
# 782|-> unormA = AVIF_MIN(ptrA16[i], yuvMaxChannel);
# 783| }
# 784| const float A = unormA / ((float)state->yuvMaxChannel);
Error: CPPCHECK_WARNING: [#def33]
libavif-1.0.4-build/libavif-1.0.4/src/stream.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def34]
libavif-1.0.4-build/libavif-1.0.4/src/write.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def35]
libavif-1.0.4-build/libavif-1.0.4/src/write.c: scope_hint: In function ‘avifItemPropertyDedupFinish’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:398:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dedup’
libavif-1.0.4-build/libavif-1.0.4/src/write.c: scope_hint: In function ‘avifItemPropertyDedupFinish’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:4: included_from: Included from here.
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1609:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1610:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1611:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1612:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1618:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1619:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1633:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1639:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1640:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1641:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1642:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1643:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1658:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1659:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1660:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1661:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1662:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1707:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1708:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1781:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1785:5: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1827:9: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1828:9: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1829:9: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
# 396| // Write a new property, and remember its location in the output stream for future deduplication
# 397| avifItemProperty * property = (avifItemProperty *)avifArrayPushPtr(&dedup->properties);
# 398|-> property->index = ++dedup->nextIndex; // preincrement so the first new index is 1 (as ipma is 1-indexed)
# 399| property->size = newPropertySize;
# 400| property->offset = avifRWStreamOffset(outputStream);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def36]
libavif-1.0.4-build/libavif-1.0.4/src/write.c: scope_hint: In function ‘avifEncoderAddImageInternal’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1225:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libavif-1.0.4-build/libavif-1.0.4/src/write.c: scope_hint: In function ‘avifEncoderAddImageInternal’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:964:9: note: in expansion of macro ‘AVIF_CHECKERR’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:966:9: note: in expansion of macro ‘AVIF_CHECKERR’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1196:9: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:964:9: note: in expansion of macro ‘AVIF_CHECKERR’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:966:9: note: in expansion of macro ‘AVIF_CHECKERR’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1222:13: note: in expansion of macro ‘AVIF_CHECKRES’
# 1223| avifEncoderItem * alphaItem = avifEncoderDataFindItemByID(encoder->data, alphaItemID);
# 1224| assert(alphaItem);
# 1225|-> alphaItem->irefType = "auxl";
# 1226| alphaItem->irefToID = colorItemID;
# 1227| if (encoder->data->imageMetadata->alphaPremultiplied) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def37]
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1230:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libavif-1.0.4-build/libavif-1.0.4/src/write.c: scope_hint: In function ‘avifEncoderAddImageInternal’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:964:9: note: in expansion of macro ‘AVIF_CHECKERR’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:966:9: note: in expansion of macro ‘AVIF_CHECKERR’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1196:9: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:964:9: note: in expansion of macro ‘AVIF_CHECKERR’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:966:9: note: in expansion of macro ‘AVIF_CHECKERR’
libavif-1.0.4-build/libavif-1.0.4/include/avif/internal.h:35:38: note: in definition of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c:1222:13: note: in expansion of macro ‘AVIF_CHECKRES’
libavif-1.0.4-build/libavif-1.0.4/src/write.c: scope_hint: In function ‘avifEncoderAddImageInternal’
# 1228| avifEncoderItem * colorItem = avifEncoderDataFindItemByID(encoder->data, colorItemID);
# 1229| assert(colorItem);
# 1230|-> colorItem->irefType = "prem";
# 1231| colorItem->irefToID = alphaItemID;
# 1232| }
Error: CPPCHECK_WARNING: [#def38]
libavif-1.0.4-build/libavif-1.0.4/tests/aviftest.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def39]
libavif-1.0.4-build/libavif-1.0.4/tests/avifyuv.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def40]
libavif-1.0.4-build/libavif-1.0.4/tests/gtest/are_images_equal.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def41]
libavif-1.0.4-build/libavif-1.0.4/tests/gtest/avifincrtest_helpers.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def42]
libavif-1.0.4-build/libavif-1.0.4/tests/gtest/aviftest_helpers.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-149.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | libavif-1.0.4-3.fc41 |
store-results-to | /tmp/tmppiscwuq2/libavif-1.0.4-3.fc41.tar.xz |
time-created | 2024-07-03 14:34:47 |
time-finished | 2024-07-03 14:37:26 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmppiscwuq2/libavif-1.0.4-3.fc41.tar.xz' '--gcc-analyze' '/tmp/tmppiscwuq2/libavif-1.0.4-3.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |