Task #548 - fixed.err

back to task #548
download
Error: CPPCHECK_WARNING (CWE-404):
jpegxl-0.8.2-build/libjxl-0.8.2/examples/encode_oneshot.cc:63: error[resourceLeak]: Resource leak: file
#   61|     size_t readsize = fread(data.data(), 1, size, file);
#   62|     if ((long)readsize != size) {
#   63|->     return false;
#   64|     }
#   65|     if (fclose(file) != 0) {

Error: CPPCHECK_WARNING (CWE-404):
jpegxl-0.8.2-build/libjxl-0.8.2/examples/encode_oneshot.cc:232: error[resourceLeak]: Resource leak: file
#  230|         bytes.size()) {
#  231|       fprintf(stderr, "Could not write bytes to %s\n", filename);
#  232|->     return false;
#  233|     }
#  234|     if (fclose(file) != 0) {

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/codec.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/dec/apng.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/dec/color_description.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/dec/color_hints.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/dec/decode.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/dec/exr.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/dec/gif.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/dec/jpegli.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/dec/jpg.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/dec/jxl.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/dec/jxl.cc:31:23: warning[core.CallAndMessage]: Called C++ object pointer is null
#   29|       Flush();
#   30|       static const size_t kBoxOutputChunkSize = 1 << 16;
#   31|->     box_data_->resize(box_data_->size() + kBoxOutputChunkSize);
#   32|       next_out_ = box_data_->data() + total_size_;
#   33|       avail_out_ = box_data_->size() - total_size_;

Error: CLANG_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/dec/jxl.cc:264:26: warning[core.CallAndMessage]: Called C++ object pointer is null
#  262|         size_t used_jpeg_output =
#  263|             jpeg_data_chunk.size() - JxlDecoderReleaseJPEGBuffer(dec);
#  264|->       jpeg_bytes->insert(jpeg_bytes->end(), jpeg_data_chunk.data(),
#  265|                            jpeg_data_chunk.data() + used_jpeg_output);
#  266|         if (used_jpeg_output == 0) {

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/dec/pgx.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/dec/pnm.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-909):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/dec/pnm.cc:372: error[uninitStructMember]: Uninitialized struct member: pec.index
#  370|       pec.ec_info.bits_per_sample = ppf->info.bits_per_sample;
#  371|       pec.ec_info.type = type;
#  372|->     ppf->extra_channels_info.emplace_back(std::move(pec));
#  373|     }
#  374|   

Error: CPPCHECK_WARNING (CWE-457):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/dec/pnm.cc:372: error[uninitvar]: Uninitialized variable: pec.index
#  370|       pec.ec_info.bits_per_sample = ppf->info.bits_per_sample;
#  371|       pec.ec_info.type = type;
#  372|->     ppf->extra_channels_info.emplace_back(std::move(pec));
#  373|     }
#  374|   

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/enc/apng.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/enc/encode.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/enc/exr.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/enc/jpegli.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/enc/jpg.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/enc/jxl.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/enc/npy.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/enc/pgx.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/enc/pnm.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/hlg.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/dec/jxl.cc:6: included_from: Included from here.
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/dec/jxl.h:19: included_from: Included from here.
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/packed_image.h:88:30: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#   86|   
#   87|     static size_t CalcStride(const JxlPixelFormat& format, size_t xsize) {
#   88|->     size_t stride = xsize * (BitsPerChannel(format.data_type) *
#   89|                                format.num_channels / jxl::kBitsPerByte);
#   90|       if (format.align > 1) {

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/packed_image_convert.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/render_hdr.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/tone_mapping.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jpegli/dct.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jpegli/decode.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jpegli/decode_marker.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jpegli/decode_marker.cc:597:3: warning[deadcode.DeadStores]: Value stored to 'pos' is never read
#  595|       JPEGLI_ERROR("Unexpected marker 0x%x", marker);
#  596|     }
#  597|->   pos += marker_len;
#  598|     AdvanceInput(cinfo, marker_len);
#  599|     return marker;

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jpegli/decode_scan.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jpegli/encode.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jpegli/entropy_coding.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jpegli/huffman.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jpegli/quant.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/ac_strategy.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/ans_common.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/aux_out.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/blending.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/box_content_decoder.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/butteraugli/butteraugli.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/butteraugli_wrapper.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/chroma_from_luma.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/coeff_order.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/color_encoding_internal.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-758):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/color_encoding_internal.cc:298: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
#  296|     JXL_DASSERT(have_fields_);
#  297|     CIExy xy;
#  298|->   switch (white_point) {
#  299|       case WhitePoint::kCustom:
#  300|         return white_.Get();

Error: CPPCHECK_WARNING (CWE-758):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/color_encoding_internal.cc:345: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
#  343|     JXL_ASSERT(HasPrimaries());
#  344|     PrimariesCIExy xy;
#  345|->   switch (primaries) {
#  346|       case Primaries::kCustom:
#  347|         xy.r = red_.Get();

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/color_management.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/compressed_dc.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/convolve_separable5.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/convolve_separable7.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/convolve_slow.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/convolve_symmetric3.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/convolve_symmetric5.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_ans.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_ans.cc:169:29: warning[core.BitwiseShift]: Right operand is negative in left shift
#  167|           } else {
#  168|             int bitcount = GetPopulationCountPrecision(code - 1, shift);
#  169|->           (*counts)[i] = (1 << (code - 1)) +
#  170|                            (input->ReadBits(bitcount) << (code - 1 - bitcount));
#  171|           }

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_cache.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_cache.cc:213:7: warning[deadcode.DeadStores]: Value stored to 'linear' is never read
#  211|       if (linear) {
#  212|         builder.AddStage(GetFromLinearStage(output_encoding_info));
#  213|->       linear = false;
#  214|       }
#  215|   

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_context_map.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_external_image.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_external_image.cc:303:5: warning[core.StackAddressEscape]: Address of stack memory associated with local variable 'temp_channels' is still referred to by the stack variable 'channels' upon returning to the caller.  This will be a dangling reference
#  301|     size_t ysize = channels[0]->ysize();
#  302|     if (stride < bytes_per_pixel * xsize) {
#  303|->     return JXL_FAILURE("stride is smaller than scanline width in bytes: %" PRIuS
#  304|                          " vs %" PRIuS,
#  305|                          stride, bytes_per_pixel * xsize);

Error: CLANG_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_external_image.cc:309:5: warning[core.StackAddressEscape]: Address of stack memory associated with local variable 'temp_channels' is still referred to by the stack variable 'channels' upon returning to the caller.  This will be a dangling reference
#  307|     if (!out_callback.IsPresent() &&
#  308|         out_size < (ysize - 1) * stride + bytes_per_pixel * xsize) {
#  309|->     return JXL_FAILURE("out_size is too small to store image");
#  310|     }
#  311|   

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_frame.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_group.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_group_border.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_huffman.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_modular.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_noise.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_patch_dictionary.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-909):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_patch_dictionary.cc:234: error[uninitStructMember]: Uninitialized struct member: root.left_child
#  232|     root.start = 0;
#  233|     root.num = intervals.size();
#  234|->   patch_tree_.push_back(root);
#  235|     size_t next = 0;
#  236|     while (next < patch_tree_.size()) {

Error: CPPCHECK_WARNING (CWE-909):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_patch_dictionary.cc:234: error[uninitStructMember]: Uninitialized struct member: root.right_child
#  232|     root.start = 0;
#  233|     root.num = intervals.size();
#  234|->   patch_tree_.push_back(root);
#  235|     size_t next = 0;
#  236|     while (next < patch_tree_.size()) {

Error: CPPCHECK_WARNING (CWE-909):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_patch_dictionary.cc:234: error[uninitStructMember]: Uninitialized struct member: root.y_center
#  232|     root.start = 0;
#  233|     root.num = intervals.size();
#  234|->   patch_tree_.push_back(root);
#  235|     size_t next = 0;
#  236|     while (next < patch_tree_.size()) {

Error: CPPCHECK_WARNING (CWE-457):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_patch_dictionary.cc:234: error[uninitvar]: Uninitialized variables: root.left_child, root.right_child, root.y_center
#  232|     root.start = 0;
#  233|     root.num = intervals.size();
#  234|->   patch_tree_.push_back(root);
#  235|     size_t next = 0;
#  236|     while (next < patch_tree_.size()) {

Error: CPPCHECK_WARNING (CWE-909):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_patch_dictionary.cc:275: error[uninitStructMember]: Uninitialized struct member: left.left_child
#  273|         left.num = left_end - left.start;
#  274|         patch_tree_[next].left_child = patch_tree_.size();
#  275|->       patch_tree_.push_back(left);
#  276|       }
#  277|       if (right_start < end) {

Error: CPPCHECK_WARNING (CWE-909):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_patch_dictionary.cc:275: error[uninitStructMember]: Uninitialized struct member: left.right_child
#  273|         left.num = left_end - left.start;
#  274|         patch_tree_[next].left_child = patch_tree_.size();
#  275|->       patch_tree_.push_back(left);
#  276|       }
#  277|       if (right_start < end) {

Error: CPPCHECK_WARNING (CWE-909):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_patch_dictionary.cc:275: error[uninitStructMember]: Uninitialized struct member: left.y_center
#  273|         left.num = left_end - left.start;
#  274|         patch_tree_[next].left_child = patch_tree_.size();
#  275|->       patch_tree_.push_back(left);
#  276|       }
#  277|       if (right_start < end) {

Error: CPPCHECK_WARNING (CWE-457):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_patch_dictionary.cc:275: error[uninitvar]: Uninitialized variables: left.left_child, left.right_child, left.y_center
#  273|         left.num = left_end - left.start;
#  274|         patch_tree_[next].left_child = patch_tree_.size();
#  275|->       patch_tree_.push_back(left);
#  276|       }
#  277|       if (right_start < end) {

Error: CPPCHECK_WARNING (CWE-909):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_patch_dictionary.cc:282: error[uninitStructMember]: Uninitialized struct member: right.left_child
#  280|         right.num = end - right.start;
#  281|         patch_tree_[next].right_child = patch_tree_.size();
#  282|->       patch_tree_.push_back(right);
#  283|       }
#  284|       ++next;

Error: CPPCHECK_WARNING (CWE-909):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_patch_dictionary.cc:282: error[uninitStructMember]: Uninitialized struct member: right.right_child
#  280|         right.num = end - right.start;
#  281|         patch_tree_[next].right_child = patch_tree_.size();
#  282|->       patch_tree_.push_back(right);
#  283|       }
#  284|       ++next;

Error: CPPCHECK_WARNING (CWE-909):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_patch_dictionary.cc:282: error[uninitStructMember]: Uninitialized struct member: right.y_center
#  280|         right.num = end - right.start;
#  281|         patch_tree_[next].right_child = patch_tree_.size();
#  282|->       patch_tree_.push_back(right);
#  283|       }
#  284|       ++next;

Error: CPPCHECK_WARNING (CWE-457):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_patch_dictionary.cc:282: error[uninitvar]: Uninitialized variables: right.left_child, right.right_child, right.y_center
#  280|         right.num = end - right.start;
#  281|         patch_tree_[next].right_child = patch_tree_.size();
#  282|->       patch_tree_.push_back(right);
#  283|       }
#  284|       ++next;

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/dec_xyb.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/decode.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/decode_to_jpeg.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_ac_strategy.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_adaptive_quantization.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_ans.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_ar_control_field.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_bit_writer.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_butteraugli_comparator.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_butteraugli_pnorm.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_cache.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_chroma_from_luma.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_cluster.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_coeff_order.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_color_management.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-562):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_color_management.h:59: error[danglingLifetime]: Non-local variable 'cms_data_' will use pointer to local variable 'input_profile'.
#   57|         return JXL_FAILURE("Conversion to CMYK is not supported");
#   58|       output_profile.num_channels = c_dst.Channels();
#   59|->     cms_data_ = cms_.init(cms_.init_data, num_threads, xsize, &input_profile,
#   60|                             &output_profile, intensity_target);
#   61|       JXL_RETURN_IF_ERROR(cms_data_ != nullptr);

Error: CPPCHECK_WARNING (CWE-562):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_color_management.h:59: error[danglingLifetime]: Non-local variable 'cms_data_' will use pointer to local variable 'output_profile'.
#   57|         return JXL_FAILURE("Conversion to CMYK is not supported");
#   58|       output_profile.num_channels = c_dst.Channels();
#   59|->     cms_data_ = cms_.init(cms_.init_data, num_threads, xsize, &input_profile,
#   60|                             &output_profile, intensity_target);
#   61|       JXL_RETURN_IF_ERROR(cms_data_ != nullptr);

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_comparator.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_context_map.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_detect_dots.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_dot_dictionary.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_entropy_coder.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_external_image.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_fast_lossless.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_fast_lossless.cc:618: warning[uninitvar]: Uninitialized variable: compact_freqs
#  616|       }
#  617|       uint8_t num_bits[kMaxNumSymbols] = {};
#  618|->     ComputeCodeLengthsNonZero(compact_freqs, ni, min_limit, max_limit,
#  619|                                 num_bits);
#  620|       ni = 0;

Error: COMPILER_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_fast_lossless.cc:2953:28: warning[-Waggressive-loop-optimizations]: iteration 9223372036854775808 invokes undefined behavior
# 2953 |     uint16_t val = LoadLE16(rgba + 2 * x);
#      |                            ^
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_fast_lossless.cc:2952:12: note: within this loop
# 2952 |   for (; x < oxs; x++) {
#      |            ^
# 2951|   #endif
# 2952|     for (; x < oxs; x++) {
# 2953|->     uint16_t val = LoadLE16(rgba + 2 * x);
# 2954|       if (big_endian) {
# 2955|         val = SwapEndian(val);

Error: COMPILER_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_fast_lossless.cc:2973:25: warning[-Waggressive-loop-optimizations]: iteration 9223372036854775808 invokes undefined behavior
# 2973 |     luma[x] = rgba[2 * x];
#      |                         ^
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_fast_lossless.cc:2972:12: note: within this loop
# 2972 |   for (; x < oxs; x++) {
#      |            ^
# 2971|   #endif
# 2972|     for (; x < oxs; x++) {
# 2973|->     luma[x] = rgba[2 * x];
# 2974|       alpha[x] = rgba[2 * x + 1];
# 2975|     }

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_file.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_frame.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_group.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_heuristics.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_huffman.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_icc_codec.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-398):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_icc_codec.cc:128: error[containerOutOfBounds]: Out of bounds access in 'kTagStrings[j]', if 'kTagStrings' size is 4 and 'j' is 16
#  126|         uint8_t tagcode = kCommandTagUnknown;
#  127|         for (size_t j = 0; j < kNumTagStrings; j++) {
#  128|->         if (tag == *kTagStrings[j]) {
#  129|             tagcode = j + kCommandTagStringFirst;
#  130|             break;

Error: CPPCHECK_WARNING (CWE-398):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_icc_codec.cc:339: error[containerOutOfBounds]: Out of bounds access in 'kTypeStrings[i]', if 'kTypeStrings' size is 4 and 'i' is 7
#  337|           Tag subTag = DecodeKeyword(icc, size, pos);
#  338|           for (size_t i = 0; i < kNumTypeStrings; i++) {
#  339|->           if (subTag == *kTypeStrings[i]) {
#  340|               commands_add.push_back(kCommandTypeStartFirst + i);
#  341|               pos += 8;

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_image_bundle.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_modular.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_noise.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_patch_dictionary.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_photon_noise.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_quant_weights.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_splines.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_toc.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_transforms.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/enc_xyb.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/encode.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/entropy_coder.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/epf.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/extras/dec/jxl.cc:14: included_from: Included from here.
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/exif.h:77:5: warning[deadcode.DeadStores]: Value stored to 't' is never read
#   75|       t += 4;
#   76|       uint16_t value = (bigendian ? LoadBE16(t) : LoadLE16(t));
#   77|->     t += 4;
#   78|       if (type == 3 && count == 1 && value >= 1 && value <= 8) {
#   79|         *orientation = static_cast<JxlOrientation>(value);

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/fields.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/frame_header.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/gaborish.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/gauss_blur.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/huffman_table.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/huffman_tree.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/icc_codec.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/icc_codec_common.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/image.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/image_bundle.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/image_metadata.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/jpeg/dec_jpeg_data.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/jpeg/dec_jpeg_data_writer.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/jpeg/enc_jpeg_data.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/jpeg/enc_jpeg_data_reader.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/jpeg/enc_jpeg_huffman_decode.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/jpeg/jpeg_data.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/linalg.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/loop_filter.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/luminance.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/modular/encoding/dec_ma.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/modular/encoding/enc_debug_tree.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/modular/encoding/enc_encoding.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/modular/encoding/enc_ma.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/modular/encoding/encoding.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/modular/modular_image.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/modular/transform/enc_palette.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/modular/transform/enc_rct.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/modular/transform/enc_squeeze.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/modular/transform/enc_transform.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/modular/transform/rct.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/modular/transform/squeeze.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/modular/transform/transform.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/opsin_params.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/optimize.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/passes_state.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/progressive_split.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/quant_weights.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/quantizer.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/render_pipeline/low_memory_render_pipeline.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/render_pipeline/render_pipeline.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/render_pipeline/simple_render_pipeline.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/render_pipeline/stage_blending.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/render_pipeline/stage_chroma_upsampling.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/render_pipeline/stage_epf.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/render_pipeline/stage_from_linear.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-758):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/render_pipeline/stage_from_linear.cc:170: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
#  168|     } else {
#  169|       // This is a programming error.
#  170|->     JXL_ABORT("Invalid target encoding");
#  171|     }
#  172|   }

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/render_pipeline/stage_gaborish.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/render_pipeline/stage_noise.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/render_pipeline/stage_patches.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/render_pipeline/stage_splines.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/render_pipeline/stage_spot.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/render_pipeline/stage_to_linear.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/render_pipeline/stage_tone_mapping.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/render_pipeline/stage_upsampling.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-758):
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/render_pipeline/stage_upsampling.cc:102: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
#  100|                       [x % 8 < 4 ? x % 4 : 3 - x % 4][y % 8 < 4 ? iy : 4 - iy]
#  101|                       [x % 8 < 4 ? ix : 4 - ix];
#  102|->     }
#  103|       JXL_ABORT("Invalid upsample");
#  104|     }

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/render_pipeline/stage_write.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/render_pipeline/stage_xyb.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/render_pipeline/stage_ycbcr.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/splines.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/lib/jxl/toc.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/box/box.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/box/box_list_main.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/butteraugli_main.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/cjpeg_hdr.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/cjxl_main.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/decode_and_encode.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/djxl_main.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-404):
jpegxl-0.8.2-build/libjxl-0.8.2/tools/file_io.cc:62: error[resourceLeak]: Resource leak: file
#   60|               "Error: %s",
#   61|               strerror(errno));
#   62|->     return false;
#   63|     }
#   64|     if (fclose(file) != 0) {

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/fuzzer_corpus.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/hdr/display_to_hlg.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/hdr/exr_to_pq.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/hdr/generate_lut_template.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/hdr/pq_to_hlg.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/hdr/render_hlg.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/hdr/texture_to_cube.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/hdr/tone_map.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/jxl_from_tree.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-457):
jpegxl-0.8.2-build/libjxl-0.8.2/tools/jxlinfo.c:375:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘info.animation.num_loops’
#  373|       }
#  374|     }
#  375|->   if (info.animation.num_loops > 1) total_duration *= info.animation.num_loops;
#  376|     if (info.have_animation) {
#  377|       printf("Animation length: %.3f seconds%s\n", total_duration * 0.001f,

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/ssimulacra.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/ssimulacra2.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457):
jpegxl-0.8.2-build/libjxl-0.8.2/tools/ssimulacra2.cc:446: error[uninitvar]: Uninitialized variable: sscale
#  444|       SSIMMap(mu1, mu2, sigma1_sq, sigma2_sq, sigma12, sscale.avg_ssim);
#  445|       EdgeDiffMap(img1, mu1, img2, mu2, sscale.avg_edgediff);
#  446|->     msssim.scales.push_back(sscale);
#  447|     }
#  448|     return msssim;

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/ssimulacra2_main.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/ssimulacra_main.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
jpegxl-0.8.2-build/libjxl-0.8.2/tools/xyb_range.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.