jpegxl-0.11.1-6.fc44
List of Findings
Error: CPPCHECK_WARNING (CWE-909): [#def1]
libjxl-0.11.1/lib/jxl/dec_patch_dictionary.cc:230: error[uninitStructMember]: Uninitialized struct member: root.left_child
Error: CPPCHECK_WARNING (CWE-909): [#def2]
libjxl-0.11.1/lib/jxl/dec_patch_dictionary.cc:230: error[uninitStructMember]: Uninitialized struct member: root.right_child
Error: CPPCHECK_WARNING (CWE-909): [#def3]
libjxl-0.11.1/lib/jxl/dec_patch_dictionary.cc:230: error[uninitStructMember]: Uninitialized struct member: root.y_center
Error: CPPCHECK_WARNING (CWE-457): [#def4]
libjxl-0.11.1/lib/jxl/dec_patch_dictionary.cc:230: error[uninitvar]: Uninitialized variables: root.left_child, root.right_child, root.y_center
Error: CPPCHECK_WARNING (CWE-909): [#def5]
libjxl-0.11.1/lib/jxl/dec_patch_dictionary.cc:271: error[uninitStructMember]: Uninitialized struct member: left.left_child
Error: CPPCHECK_WARNING (CWE-909): [#def6]
libjxl-0.11.1/lib/jxl/dec_patch_dictionary.cc:271: error[uninitStructMember]: Uninitialized struct member: left.right_child
Error: CPPCHECK_WARNING (CWE-909): [#def7]
libjxl-0.11.1/lib/jxl/dec_patch_dictionary.cc:271: error[uninitStructMember]: Uninitialized struct member: left.y_center
Error: CPPCHECK_WARNING (CWE-457): [#def8]
libjxl-0.11.1/lib/jxl/dec_patch_dictionary.cc:271: error[uninitvar]: Uninitialized variables: left.left_child, left.right_child, left.y_center
Error: CPPCHECK_WARNING (CWE-909): [#def9]
libjxl-0.11.1/lib/jxl/dec_patch_dictionary.cc:278: error[uninitStructMember]: Uninitialized struct member: right.left_child
Error: CPPCHECK_WARNING (CWE-909): [#def10]
libjxl-0.11.1/lib/jxl/dec_patch_dictionary.cc:278: error[uninitStructMember]: Uninitialized struct member: right.right_child
Error: CPPCHECK_WARNING (CWE-909): [#def11]
libjxl-0.11.1/lib/jxl/dec_patch_dictionary.cc:278: error[uninitStructMember]: Uninitialized struct member: right.y_center
Error: CPPCHECK_WARNING (CWE-457): [#def12]
libjxl-0.11.1/lib/jxl/dec_patch_dictionary.cc:278: error[uninitvar]: Uninitialized variables: right.left_child, right.right_child, right.y_center
Error: CPPCHECK_WARNING (CWE-457): [#def13]
libjxl-0.11.1/lib/jxl/enc_fast_lossless.cc:550: warning[uninitvar]: Uninitialized variable: compact_freqs
Error: COMPILER_WARNING (CWE-457): [#def14]
libjxl-0.11.1/lib/jxl/enc_fast_lossless.cc: scope_hint: In function ‘(anonymous namespace)::PrefixCode::ComputeCodeLengths(unsigned long const*, unsigned long, unsigned char const*, unsigned char const*, unsigned char*)’
libjxl-0.11.1/lib/jxl/enc_fast_lossless.cc:550:30: warning[-Wmaybe-uninitialized]: ‘compact_freqs’ may be used uninitialized
libjxl-0.11.1/lib/jxl/enc_fast_lossless.cc:503:15: note: by argument 1 of type ‘const uint64_t *’ to ‘(anonymous namespace)::PrefixCode::ComputeCodeLengthsNonZero(unsigned long const*, unsigned long, unsigned char*, unsigned char*, unsigned char*)’ declared here
libjxl-0.11.1/lib/jxl/enc_fast_lossless.cc:537:14: note: ‘compact_freqs’ declared here
Error: CPPCHECK_WARNING (CWE-398): [#def15]
libjxl-0.11.1/lib/jxl/enc_icc_codec.cc:172: error[containerOutOfBounds]: Out of bounds access in 'kTagStrings[j]', if 'kTagStrings' size is 4 and 'j' is 16
Error: CPPCHECK_WARNING (CWE-398): [#def16]
libjxl-0.11.1/lib/jxl/enc_icc_codec.cc:409: error[containerOutOfBounds]: Out of bounds access in 'kTypeStrings[i]', if 'kTypeStrings' size is 4 and 'i' is 7
Error: CPPCHECK_WARNING (CWE-562): [#def17]
libjxl-0.11.1/lib/jxl/encode.cc:187: error[danglingLifetime]: Non-local variable 'next_out_' will use pointer to local variable 'next_out'.
Error: COMPILER_WARNING: [#def18]
libjxl-0.11.1/lib/jxl/encode.cc:187:13: warning[-Wdangling-pointer=]: storing the address of local variable ‘next_out’ in ‘this_12(D)->next_out_’
libjxl-0.11.1/lib/jxl/encode.cc: scope_hint: In member function ‘JxlEncoderOutputProcessorWrapper::CopyOutput(std::vector<unsigned char, std::allocator<unsigned char> >&, unsigned char*, unsigned long&)’
libjxl-0.11.1/lib/jxl/encode.cc:193:44: note: ‘next_out’ declared here
libjxl-0.11.1/lib/jxl/encode.cc:193:71: note: ‘this’ declared here
Error: CPPCHECK_WARNING (CWE-476): [#def19]
libjxl-0.11.1/lib/jxl/modular/encoding/enc_debug_tree.cc:99: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: f
Error: CPPCHECK_WARNING (CWE-476): [#def20]
libjxl-0.11.1/lib/jxl/modular/encoding/enc_debug_tree.cc:112: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: f
Error: CPPCHECK_WARNING (CWE-476): [#def21]
libjxl-0.11.1/lib/jxl/modular/encoding/enc_debug_tree.cc:113: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: f
Error: CPPCHECK_WARNING (CWE-758): [#def22]
libjxl-0.11.1/lib/jxl/render_pipeline/stage_upsampling.cc:105: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
Error: CPPCHECK_WARNING (CWE-562): [#def23]
libjxl-0.11.1/lib/jxl/test_utils.cc:95: error[returnDanglingLifetime]: Returning object that points to local variable 'str' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-457): [#def24]
libjxl-0.11.1/third_party/sjpeg/src/enc.cc:1341: warning[uninitvar]: Uninitialized variable: sorted_freq
Error: CPPCHECK_WARNING (CWE-786): [#def25]
libjxl-0.11.1/third_party/sjpeg/src/enc.cc:1432: error[negativeIndex]: Array 'start[32]' accessed at index -1, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def26]
libjxl-0.11.1/third_party/sjpeg/src/jpeg_tools.cc:243: error[arrayIndexOutOfBounds]: Array 'yuv[24]' accessed at index 127, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def27]
libjxl-0.11.1/third_party/sjpeg/src/jpeg_tools.cc:243: error[arrayIndexOutOfBounds]: Array 'yuv[24]' accessed at index 191, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def28]
libjxl-0.11.1/third_party/sjpeg/src/jpeg_tools.cc:243: error[arrayIndexOutOfBounds]: Array 'yuv[24]' accessed at index 63, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-786): [#def29]
libjxl-0.11.1/third_party/sjpeg/src/jpeg_tools.cc:252: error[negativeIndex]: Array 'idx[64]' accessed at index -1, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-786): [#def30]
libjxl-0.11.1/third_party/sjpeg/src/jpeg_tools.cc:253: error[negativeIndex]: Array 'idx[64]' accessed at index -8, which is out of bounds.
Error: COMPILER_WARNING (CWE-457): [#def31]
libjxl-0.11.1/third_party/skcms/src/Transform_inl.h:119:14: warning[-Wmaybe-uninitialized]: ‘d’ may be used uninitialized
libjxl-0.11.1/third_party/skcms/src/Transform_inl.h: scope_hint: In function ‘baseline::exec_ops(skcms_private::Op const*, void const**, char const*, char*, int)’
libjxl-0.11.1/third_party/skcms/src/Transform_inl.h:117:7: note: ‘d’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
libjxl-0.11.1/tools/jxlinfo.c:96:31: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libjxl-0.11.1/tools/jxlinfo.c:472:12: enter_function: entry to ‘print_basic_info_filename’
libjxl-0.11.1/tools/jxlinfo.c:474:6: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:478:16: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:478:16: call_function: calling ‘PrintBasicInfo’ from ‘print_basic_info_filename’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
libjxl-0.11.1/tools/jxlinfo.c:104:26: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libjxl-0.11.1/tools/jxlinfo.c:472:12: enter_function: entry to ‘print_basic_info_filename’
libjxl-0.11.1/tools/jxlinfo.c:474:6: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:478:16: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:478:16: call_function: calling ‘PrintBasicInfo’ from ‘print_basic_info_filename’
Error: CPPCHECK_WARNING (CWE-401): [#def34]
libjxl-0.11.1/tools/jxlinfo.c:111: error[memleakOnRealloc]: Common realloc mistake: 'data' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
libjxl-0.11.1/tools/jxlinfo.c:119:7: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libjxl-0.11.1/tools/jxlinfo.c:472:12: enter_function: entry to ‘print_basic_info_filename’
libjxl-0.11.1/tools/jxlinfo.c:474:6: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:478:16: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:478:16: call_function: calling ‘PrintBasicInfo’ from ‘print_basic_info_filename’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
libjxl-0.11.1/tools/jxlinfo.c:120:10: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libjxl-0.11.1/tools/jxlinfo.c:472:12: enter_function: entry to ‘print_basic_info_filename’
libjxl-0.11.1/tools/jxlinfo.c:474:6: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:478:16: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:478:16: call_function: calling ‘PrintBasicInfo’ from ‘print_basic_info_filename’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
libjxl-0.11.1/tools/jxlinfo.c:120:23: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libjxl-0.11.1/tools/jxlinfo.c:472:12: enter_function: entry to ‘print_basic_info_filename’
libjxl-0.11.1/tools/jxlinfo.c:474:6: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:478:16: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:478:16: call_function: calling ‘PrintBasicInfo’ from ‘print_basic_info_filename’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
libjxl-0.11.1/tools/jxlinfo.c:125:30: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libjxl-0.11.1/tools/jxlinfo.c:472:12: enter_function: entry to ‘print_basic_info_filename’
libjxl-0.11.1/tools/jxlinfo.c:474:6: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:478:16: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:478:16: call_function: calling ‘PrintBasicInfo’ from ‘print_basic_info_filename’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
libjxl-0.11.1/tools/jxlinfo.c:150:32: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libjxl-0.11.1/tools/jxlinfo.c:472:12: enter_function: entry to ‘print_basic_info_filename’
libjxl-0.11.1/tools/jxlinfo.c:474:6: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:478:16: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:478:16: call_function: calling ‘PrintBasicInfo’ from ‘print_basic_info_filename’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
libjxl-0.11.1/tools/jxlinfo.c:270:11: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libjxl-0.11.1/tools/jxlinfo.c:472:12: enter_function: entry to ‘print_basic_info_filename’
libjxl-0.11.1/tools/jxlinfo.c:474:6: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:478:16: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:478:16: call_function: calling ‘PrintBasicInfo’ from ‘print_basic_info_filename’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
libjxl-0.11.1/tools/jxlinfo.c:290:32: warning[-Wanalyzer-malloc-leak]: leak of ‘profile’
libjxl-0.11.1/tools/jxlinfo.c:497:5: enter_function: entry to ‘main’
libjxl-0.11.1/tools/jxlinfo.c:505:6: branch_false: following ‘false’ branch (when ‘argc > 1’)...
branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:511:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
libjxl-0.11.1/tools/jxlinfo.c:512:8: branch_true: ...to here
libjxl-0.11.1/tools/jxlinfo.c:512:8: branch_true: following ‘true’ branch (when ‘verbose == 0’)...
libjxl-0.11.1/tools/jxlinfo.c:512:33: branch_true: ...to here
libjxl-0.11.1/tools/jxlinfo.c:512:21: call_function: calling ‘is_flag’ from ‘main’
libjxl-0.11.1/tools/jxlinfo.c:512:21: return_function: returning to ‘main’ from ‘is_flag’
libjxl-0.11.1/tools/jxlinfo.c:515:9: call_function: calling ‘is_flag’ from ‘main’
libjxl-0.11.1/tools/jxlinfo.c:515:9: return_function: returning to ‘main’ from ‘is_flag’
libjxl-0.11.1/tools/jxlinfo.c:515:8: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:511:29: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:522:10: branch_true: following ‘true’ branch (when ‘argc != 1’)...
libjxl-0.11.1/tools/jxlinfo.c:523:9: branch_true: ...to here
libjxl-0.11.1/tools/jxlinfo.c:523:9: call_function: calling ‘is_flag’ from ‘main’
libjxl-0.11.1/tools/jxlinfo.c:523:9: return_function: returning to ‘main’ from ‘is_flag’
libjxl-0.11.1/tools/jxlinfo.c:523:8: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:523:47: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:523:47: call_function: calling ‘is_flag’ from ‘main’
libjxl-0.11.1/tools/jxlinfo.c:523:47: return_function: returning to ‘main’ from ‘is_flag’
libjxl-0.11.1/tools/jxlinfo.c:523:9: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:526:17: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:526:17: call_function: calling ‘print_basic_info_filename’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def42]
libjxl-0.11.1/tools/jxlinfo.c:323:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘info.have_animation’
libjxl-0.11.1/tools/jxlinfo.c:497:5: enter_function: entry to ‘main’
libjxl-0.11.1/tools/jxlinfo.c:505:6: branch_false: following ‘false’ branch (when ‘argc > 1’)...
branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:511:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
libjxl-0.11.1/tools/jxlinfo.c:512:8: branch_true: ...to here
libjxl-0.11.1/tools/jxlinfo.c:512:8: branch_true: following ‘true’ branch (when ‘verbose == 0’)...
libjxl-0.11.1/tools/jxlinfo.c:512:33: branch_true: ...to here
libjxl-0.11.1/tools/jxlinfo.c:512:21: call_function: calling ‘is_flag’ from ‘main’
libjxl-0.11.1/tools/jxlinfo.c:512:21: return_function: returning to ‘main’ from ‘is_flag’
libjxl-0.11.1/tools/jxlinfo.c:515:9: call_function: calling ‘is_flag’ from ‘main’
libjxl-0.11.1/tools/jxlinfo.c:515:9: return_function: returning to ‘main’ from ‘is_flag’
libjxl-0.11.1/tools/jxlinfo.c:515:8: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:511:29: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:522:10: branch_true: following ‘true’ branch (when ‘argc != 1’)...
libjxl-0.11.1/tools/jxlinfo.c:523:9: branch_true: ...to here
libjxl-0.11.1/tools/jxlinfo.c:523:9: call_function: calling ‘is_flag’ from ‘main’
libjxl-0.11.1/tools/jxlinfo.c:523:9: return_function: returning to ‘main’ from ‘is_flag’
libjxl-0.11.1/tools/jxlinfo.c:523:8: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:523:47: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:523:47: call_function: calling ‘is_flag’ from ‘main’
libjxl-0.11.1/tools/jxlinfo.c:523:47: return_function: returning to ‘main’ from ‘is_flag’
libjxl-0.11.1/tools/jxlinfo.c:523:9: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:526:17: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:526:17: call_function: calling ‘print_basic_info_filename’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
libjxl-0.11.1/tools/jxlinfo.c:380:9: warning[-Wanalyzer-malloc-leak]: leak of ‘box_data’
libjxl-0.11.1/tools/jxlinfo.c:497:5: enter_function: entry to ‘main’
libjxl-0.11.1/tools/jxlinfo.c:505:6: branch_false: following ‘false’ branch (when ‘argc > 1’)...
branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:511:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
libjxl-0.11.1/tools/jxlinfo.c:512:8: branch_true: ...to here
libjxl-0.11.1/tools/jxlinfo.c:512:8: branch_true: following ‘true’ branch (when ‘verbose == 0’)...
libjxl-0.11.1/tools/jxlinfo.c:512:33: branch_true: ...to here
libjxl-0.11.1/tools/jxlinfo.c:512:21: call_function: calling ‘is_flag’ from ‘main’
libjxl-0.11.1/tools/jxlinfo.c:512:21: return_function: returning to ‘main’ from ‘is_flag’
libjxl-0.11.1/tools/jxlinfo.c:515:9: call_function: calling ‘is_flag’ from ‘main’
libjxl-0.11.1/tools/jxlinfo.c:515:9: return_function: returning to ‘main’ from ‘is_flag’
libjxl-0.11.1/tools/jxlinfo.c:515:8: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:511:29: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:522:10: branch_true: following ‘true’ branch (when ‘argc != 1’)...
libjxl-0.11.1/tools/jxlinfo.c:523:9: branch_true: ...to here
libjxl-0.11.1/tools/jxlinfo.c:523:9: call_function: calling ‘is_flag’ from ‘main’
libjxl-0.11.1/tools/jxlinfo.c:523:9: return_function: returning to ‘main’ from ‘is_flag’
libjxl-0.11.1/tools/jxlinfo.c:523:8: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:523:47: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:523:47: call_function: calling ‘is_flag’ from ‘main’
libjxl-0.11.1/tools/jxlinfo.c:523:47: return_function: returning to ‘main’ from ‘is_flag’
libjxl-0.11.1/tools/jxlinfo.c:523:9: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:526:17: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:526:17: call_function: calling ‘print_basic_info_filename’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
libjxl-0.11.1/tools/jxlinfo.c:399:7: warning[-Wanalyzer-malloc-leak]: leak of ‘temp’
libjxl-0.11.1/tools/jxlinfo.c:497:5: enter_function: entry to ‘main’
libjxl-0.11.1/tools/jxlinfo.c:505:6: branch_false: following ‘false’ branch (when ‘argc > 1’)...
branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:511:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
libjxl-0.11.1/tools/jxlinfo.c:512:8: branch_true: ...to here
libjxl-0.11.1/tools/jxlinfo.c:512:8: branch_true: following ‘true’ branch (when ‘verbose == 0’)...
libjxl-0.11.1/tools/jxlinfo.c:512:33: branch_true: ...to here
libjxl-0.11.1/tools/jxlinfo.c:512:21: call_function: calling ‘is_flag’ from ‘main’
libjxl-0.11.1/tools/jxlinfo.c:512:21: return_function: returning to ‘main’ from ‘is_flag’
libjxl-0.11.1/tools/jxlinfo.c:515:9: call_function: calling ‘is_flag’ from ‘main’
libjxl-0.11.1/tools/jxlinfo.c:515:9: return_function: returning to ‘main’ from ‘is_flag’
libjxl-0.11.1/tools/jxlinfo.c:515:8: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:511:29: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:522:10: branch_true: following ‘true’ branch (when ‘argc != 1’)...
libjxl-0.11.1/tools/jxlinfo.c:523:9: branch_true: ...to here
libjxl-0.11.1/tools/jxlinfo.c:523:9: call_function: calling ‘is_flag’ from ‘main’
libjxl-0.11.1/tools/jxlinfo.c:523:9: return_function: returning to ‘main’ from ‘is_flag’
libjxl-0.11.1/tools/jxlinfo.c:523:8: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:523:47: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:523:47: call_function: calling ‘is_flag’ from ‘main’
libjxl-0.11.1/tools/jxlinfo.c:523:47: return_function: returning to ‘main’ from ‘is_flag’
libjxl-0.11.1/tools/jxlinfo.c:523:9: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:526:17: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:526:17: call_function: calling ‘print_basic_info_filename’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def45]
libjxl-0.11.1/tools/jxlinfo.c:452:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘info.animation.num_loops’
libjxl-0.11.1/tools/jxlinfo.c:497:5: enter_function: entry to ‘main’
libjxl-0.11.1/tools/jxlinfo.c:505:6: branch_false: following ‘false’ branch (when ‘argc > 1’)...
branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:511:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
libjxl-0.11.1/tools/jxlinfo.c:512:8: branch_true: ...to here
libjxl-0.11.1/tools/jxlinfo.c:512:8: branch_true: following ‘true’ branch (when ‘verbose == 0’)...
libjxl-0.11.1/tools/jxlinfo.c:512:33: branch_true: ...to here
libjxl-0.11.1/tools/jxlinfo.c:512:21: call_function: calling ‘is_flag’ from ‘main’
libjxl-0.11.1/tools/jxlinfo.c:512:21: return_function: returning to ‘main’ from ‘is_flag’
libjxl-0.11.1/tools/jxlinfo.c:515:9: call_function: calling ‘is_flag’ from ‘main’
libjxl-0.11.1/tools/jxlinfo.c:515:9: return_function: returning to ‘main’ from ‘is_flag’
libjxl-0.11.1/tools/jxlinfo.c:515:8: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:511:29: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:522:10: branch_true: following ‘true’ branch (when ‘argc != 1’)...
libjxl-0.11.1/tools/jxlinfo.c:523:9: branch_true: ...to here
libjxl-0.11.1/tools/jxlinfo.c:523:9: call_function: calling ‘is_flag’ from ‘main’
libjxl-0.11.1/tools/jxlinfo.c:523:9: return_function: returning to ‘main’ from ‘is_flag’
libjxl-0.11.1/tools/jxlinfo.c:523:8: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:523:47: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:523:47: call_function: calling ‘is_flag’ from ‘main’
libjxl-0.11.1/tools/jxlinfo.c:523:47: return_function: returning to ‘main’ from ‘is_flag’
libjxl-0.11.1/tools/jxlinfo.c:523:9: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:526:17: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:526:17: call_function: calling ‘print_basic_info_filename’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def46]
libjxl-0.11.1/tools/jxlinfo.c:480:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(jxl_filename, "rb")’
libjxl-0.11.1/tools/jxlinfo.c:472:12: enter_function: entry to ‘print_basic_info_filename’
libjxl-0.11.1/tools/jxlinfo.c:473:16: acquire_resource: opened here
libjxl-0.11.1/tools/jxlinfo.c:474:6: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:478:16: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:478:16: call_function: calling ‘PrintBasicInfo’ from ‘print_basic_info_filename’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
libjxl-0.11.1/tools/jxlinfo.c:480:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(jxl_filename, "rb")’
libjxl-0.11.1/tools/jxlinfo.c:472:12: enter_function: entry to ‘print_basic_info_filename’
libjxl-0.11.1/tools/jxlinfo.c:473:16: acquire_memory: allocated here
libjxl-0.11.1/tools/jxlinfo.c:474:6: branch_false: following ‘false’ branch...
libjxl-0.11.1/tools/jxlinfo.c:478:16: branch_false: ...to here
libjxl-0.11.1/tools/jxlinfo.c:478:16: call_function: calling ‘PrintBasicInfo’ from ‘print_basic_info_filename’
Scan Properties
| analyzer-version-clippy | 1.90.0 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-142.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-gcc-latest-x86_64 |
| project-name | jpegxl-0.11.1-6.fc44 |
| store-results-to | /tmp/tmp_dps9vly/jpegxl-0.11.1-6.fc44.tar.xz |
| time-created | 2025-10-28 18:30:25 |
| time-finished | 2025-10-28 18:45:14 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp_dps9vly/jpegxl-0.11.1-6.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp_dps9vly/jpegxl-0.11.1-6.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |