Error: COMPILER_WARNING (CWE-477): [#def1] openexr-3.2.4/src/lib/IlmThread/IlmThreadPool.cpp: scope_hint: In member function ‘IlmThread_3_2::ThreadPool::Data::ProviderPtr IlmThread_3_2::ThreadPool::Data::getProvider() const’ openexr-3.2.4/src/lib/IlmThread/IlmThreadPool.cpp:119:64: warning[-Wdeprecated-declarations]: ‘std::shared_ptr<_Tp> std::atomic_load(const shared_ptr<_Tp>*) [with _Tp = IlmThread_3_2::ThreadPoolProvider]’ is deprecated: use 'std::atomic<std::shared_ptr<T>>' instead # 119 | ProviderPtr getProvider () const { return std::atomic_load (&_provider); } # | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/16/memory:83: included_from: Included from here. openexr-3.2.4/src/lib/IlmThread/IlmThreadPool.cpp:19: included_from: Included from here. /usr/include/c++/16/bits/shared_ptr_atomic.h:142:5: note: declared here # 142 | atomic_load(const shared_ptr<_Tp>* __p) # | ^~~~~~~~~~~ # 117| Data& operator= (Data&&) = delete; # 118| # 119|-> ProviderPtr getProvider () const { return std::atomic_load (&_provider); } # 120| # 121| void setProvider (ProviderPtr provider) Error: COMPILER_WARNING (CWE-477): [#def2] openexr-3.2.4/src/lib/IlmThread/IlmThreadPool.cpp: scope_hint: In member function ‘void IlmThread_3_2::ThreadPool::Data::setProvider(ProviderPtr)’ openexr-3.2.4/src/lib/IlmThread/IlmThreadPool.cpp:123:49: warning[-Wdeprecated-declarations]: ‘std::shared_ptr<_Tp> std::atomic_exchange(shared_ptr<_Tp>*, shared_ptr<_Tp>) [with _Tp = IlmThread_3_2::ThreadPoolProvider]’ is deprecated: use 'std::atomic<std::shared_ptr<T>>' instead # 123 | ProviderPtr curp = std::atomic_exchange (&_provider, provider); # | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/bits/shared_ptr_atomic.h:225:5: note: declared here # 225 | atomic_exchange(shared_ptr<_Tp>* __p, shared_ptr<_Tp> __r) # | ^~~~~~~~~~~~~~~ # 121| void setProvider (ProviderPtr provider) # 122| { # 123|-> ProviderPtr curp = std::atomic_exchange (&_provider, provider); # 124| if (curp && curp != provider) curp->finish (); # 125| } Error: CPPCHECK_WARNING (CWE-398): [#def3] openexr-3.2.4/src/lib/OpenEXR/ImfInputFile.cpp:120: error[throwInNoexceptFunction]: Unhandled exception thrown in function declared not to throw exceptions. # 118| if (compositor) delete compositor; # 119| # 120|-> deleteCachedBuffer (); # 121| # 122| if (multiPartBackwardSupport && multiPartFile) delete multiPartFile; Error: CPPCHECK_WARNING (CWE-758): [#def4] openexr-3.2.4/src/lib/OpenEXR/ImfMultiPartInputFile.cpp:94: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement # 92| Data& operator= (Data&& other) = delete; # 93| # 94|-> template <class T> T* createInputPartT (int partNumber) {} # 95| }; # 96| Error: COMPILER_WARNING: [#def5] openexr-3.2.4/src/lib/OpenEXR/ImfMultiPartInputFile.cpp: scope_hint: In member function ‘void Imf_3_2::MultiPartInputFile::initialize()’ openexr-3.2.4/src/lib/OpenEXR/ImfMultiPartInputFile.cpp:312:9: warning[-Wunused-but-set-variable=]: variable ‘pos’ set but not used # 312 | int pos = 0; # | ^~~ # 310| "Multipart files cannot have the tiled bit set"); # 311| # 312|-> int pos = 0; # 313| while (true) # 314| { Error: CPPCHECK_WARNING (CWE-909): [#def6] openexr-3.2.4/src/lib/OpenEXR/ImfScanLineInputFile.cpp:1562: error[uninitStructMember]: Uninitialized struct member: dat.type # 1560| dat.xSampling = j.slice ().xSampling; # 1561| dat.ySampling = j.slice ().ySampling; # 1562|-> optData.push_back (dat); # 1563| } # 1564| Error: CPPCHECK_WARNING (CWE-457): [#def7] openexr-3.2.4/src/lib/OpenEXR/ImfScanLineInputFile.cpp:1562: error[uninitvar]: Uninitialized variable: dat.type # 1560| dat.xSampling = j.slice ().xSampling; # 1561| dat.ySampling = j.slice ().ySampling; # 1562|-> optData.push_back (dat); # 1563| } # 1564| Error: COMPILER_WARNING (CWE-477): [#def8] openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp: scope_hint: In function ‘const float& Imf_3_2::dwaCompressionLevel(const Header&)’ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:50:42: warning[-Wdeprecated-declarations]: ‘const Imf_3_2::TypedAttribute<float>& Imf_3_2::dwaCompressionLevelAttribute(const Header&)’ is deprecated: use compression method in ImfHeader # 50 | return IMF_NAME_ATTRIBUTE (name) (header).value (); \ # | ^ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:119:1: note: in expansion of macro ‘IMF_STD_ATTRIBUTE_IMP’ # 119 | IMF_STD_ATTRIBUTE_IMP (dwaCompressionLevel, DwaCompressionLevel, float) # | ^~~~~~~~~~~~~~~~~~~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:119:24: note: declared here # 119 | IMF_STD_ATTRIBUTE_IMP (dwaCompressionLevel, DwaCompressionLevel, float) # | ^~~~~~~~~~~~~~~~~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.h:47:34: note: in definition of macro ‘IMF_NAME_ATTRIBUTE’ # 47 | #define IMF_NAME_ATTRIBUTE(name) name##Attribute # | ^~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:119:1: note: in expansion of macro ‘IMF_STD_ATTRIBUTE_IMP’ # 119 | IMF_STD_ATTRIBUTE_IMP (dwaCompressionLevel, DwaCompressionLevel, float) # | ^~~~~~~~~~~~~~~~~~~~~ # 48| const type& name (const Header& header) \ # 49| { \ # 50|-> return IMF_NAME_ATTRIBUTE (name) (header).value (); \ # 51| } \ # 52| \ Error: COMPILER_WARNING (CWE-477): [#def9] openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp: scope_hint: In function ‘const std::string& Imf_3_2::lookModTransform(const Header&)’ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:50:42: warning[-Wdeprecated-declarations]: ‘const Imf_3_2::TypedAttribute<std::__cxx11::basic_string<char> >& Imf_3_2::lookModTransformAttribute(const Header&)’ is deprecated: this attribute is obsolete as of OpenEXR v3.2 # 50 | return IMF_NAME_ATTRIBUTE (name) (header).value (); \ # | ^ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:114:1: note: in expansion of macro ‘IMF_STD_ATTRIBUTE_IMP’ # 114 | IMF_STD_ATTRIBUTE_IMP (lookModTransform, LookModTransform, string) # | ^~~~~~~~~~~~~~~~~~~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:114:24: note: declared here # 114 | IMF_STD_ATTRIBUTE_IMP (lookModTransform, LookModTransform, string) # | ^~~~~~~~~~~~~~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.h:47:34: note: in definition of macro ‘IMF_NAME_ATTRIBUTE’ # 47 | #define IMF_NAME_ATTRIBUTE(name) name##Attribute # | ^~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:114:1: note: in expansion of macro ‘IMF_STD_ATTRIBUTE_IMP’ # 114 | IMF_STD_ATTRIBUTE_IMP (lookModTransform, LookModTransform, string) # | ^~~~~~~~~~~~~~~~~~~~~ # 48| const type& name (const Header& header) \ # 49| { \ # 50|-> return IMF_NAME_ATTRIBUTE (name) (header).value (); \ # 51| } \ # 52| \ Error: COMPILER_WARNING (CWE-477): [#def10] openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp: scope_hint: In function ‘const std::string& Imf_3_2::renderingTransform(const Header&)’ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:50:42: warning[-Wdeprecated-declarations]: ‘const Imf_3_2::TypedAttribute<std::__cxx11::basic_string<char> >& Imf_3_2::renderingTransformAttribute(const Header&)’ is deprecated: this attribute is obsolete as of OpenEXR v3.2 # 50 | return IMF_NAME_ATTRIBUTE (name) (header).value (); \ # | ^ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:113:1: note: in expansion of macro ‘IMF_STD_ATTRIBUTE_IMP’ # 113 | IMF_STD_ATTRIBUTE_IMP (renderingTransform, RenderingTransform, string) # | ^~~~~~~~~~~~~~~~~~~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:12: included_from: Included from here. openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:113:24: note: declared here # 113 | IMF_STD_ATTRIBUTE_IMP (renderingTransform, RenderingTransform, string) # | ^~~~~~~~~~~~~~~~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.h:47:34: note: in definition of macro ‘IMF_NAME_ATTRIBUTE’ # 47 | #define IMF_NAME_ATTRIBUTE(name) name##Attribute # | ^~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:113:1: note: in expansion of macro ‘IMF_STD_ATTRIBUTE_IMP’ # 113 | IMF_STD_ATTRIBUTE_IMP (renderingTransform, RenderingTransform, string) # | ^~~~~~~~~~~~~~~~~~~~~ # 48| const type& name (const Header& header) \ # 49| { \ # 50|-> return IMF_NAME_ATTRIBUTE (name) (header).value (); \ # 51| } \ # 52| \ Error: COMPILER_WARNING (CWE-477): [#def11] openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp: scope_hint: In function ‘float& Imf_3_2::dwaCompressionLevel(Header&)’ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:55:42: warning[-Wdeprecated-declarations]: ‘Imf_3_2::TypedAttribute<float>& Imf_3_2::dwaCompressionLevelAttribute(Header&)’ is deprecated: use compression method in ImfHeader # 55 | return IMF_NAME_ATTRIBUTE (name) (header).value (); \ # | ^ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:119:1: note: in expansion of macro ‘IMF_STD_ATTRIBUTE_IMP’ # 119 | IMF_STD_ATTRIBUTE_IMP (dwaCompressionLevel, DwaCompressionLevel, float) # | ^~~~~~~~~~~~~~~~~~~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:119:24: note: declared here # 119 | IMF_STD_ATTRIBUTE_IMP (dwaCompressionLevel, DwaCompressionLevel, float) # | ^~~~~~~~~~~~~~~~~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.h:47:34: note: in definition of macro ‘IMF_NAME_ATTRIBUTE’ # 47 | #define IMF_NAME_ATTRIBUTE(name) name##Attribute # | ^~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:119:1: note: in expansion of macro ‘IMF_STD_ATTRIBUTE_IMP’ # 119 | IMF_STD_ATTRIBUTE_IMP (dwaCompressionLevel, DwaCompressionLevel, float) # | ^~~~~~~~~~~~~~~~~~~~~ # 53| type& name (Header& header) \ # 54| { \ # 55|-> return IMF_NAME_ATTRIBUTE (name) (header).value (); \ # 56| } # 57| Error: COMPILER_WARNING (CWE-477): [#def12] openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp: scope_hint: In function ‘std::string& Imf_3_2::lookModTransform(Header&)’ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:55:42: warning[-Wdeprecated-declarations]: ‘Imf_3_2::TypedAttribute<std::__cxx11::basic_string<char> >& Imf_3_2::lookModTransformAttribute(Header&)’ is deprecated: this attribute is obsolete as of OpenEXR v3.2 # 55 | return IMF_NAME_ATTRIBUTE (name) (header).value (); \ # | ^ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:114:1: note: in expansion of macro ‘IMF_STD_ATTRIBUTE_IMP’ # 114 | IMF_STD_ATTRIBUTE_IMP (lookModTransform, LookModTransform, string) # | ^~~~~~~~~~~~~~~~~~~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:114:24: note: declared here # 114 | IMF_STD_ATTRIBUTE_IMP (lookModTransform, LookModTransform, string) # | ^~~~~~~~~~~~~~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.h:47:34: note: in definition of macro ‘IMF_NAME_ATTRIBUTE’ # 47 | #define IMF_NAME_ATTRIBUTE(name) name##Attribute # | ^~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:114:1: note: in expansion of macro ‘IMF_STD_ATTRIBUTE_IMP’ # 114 | IMF_STD_ATTRIBUTE_IMP (lookModTransform, LookModTransform, string) # | ^~~~~~~~~~~~~~~~~~~~~ # 53| type& name (Header& header) \ # 54| { \ # 55|-> return IMF_NAME_ATTRIBUTE (name) (header).value (); \ # 56| } # 57| Error: COMPILER_WARNING (CWE-477): [#def13] openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp: scope_hint: In function ‘std::string& Imf_3_2::renderingTransform(Header&)’ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:55:42: warning[-Wdeprecated-declarations]: ‘Imf_3_2::TypedAttribute<std::__cxx11::basic_string<char> >& Imf_3_2::renderingTransformAttribute(Header&)’ is deprecated: this attribute is obsolete as of OpenEXR v3.2 # 55 | return IMF_NAME_ATTRIBUTE (name) (header).value (); \ # | ^ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:113:1: note: in expansion of macro ‘IMF_STD_ATTRIBUTE_IMP’ # 113 | IMF_STD_ATTRIBUTE_IMP (renderingTransform, RenderingTransform, string) # | ^~~~~~~~~~~~~~~~~~~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:113:24: note: declared here # 113 | IMF_STD_ATTRIBUTE_IMP (renderingTransform, RenderingTransform, string) # | ^~~~~~~~~~~~~~~~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.h:47:34: note: in definition of macro ‘IMF_NAME_ATTRIBUTE’ # 47 | #define IMF_NAME_ATTRIBUTE(name) name##Attribute # | ^~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.cpp:113:1: note: in expansion of macro ‘IMF_STD_ATTRIBUTE_IMP’ # 113 | IMF_STD_ATTRIBUTE_IMP (renderingTransform, RenderingTransform, string) # | ^~~~~~~~~~~~~~~~~~~~~ # 53| type& name (Header& header) \ # 54| { \ # 55|-> return IMF_NAME_ATTRIBUTE (name) (header).value (); \ # 56| } # 57| Error: COMPILER_WARNING: [#def14] openexr-3.2.4/src/lib/OpenEXRCore/internal_posix_file_impl.h: scope_hint: In function ‘exr_start_write’ openexr-3.2.4/src/lib/OpenEXRCore/internal_posix_file_impl.h:457:13: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length # 457 | strncpy (tmpname + nPrev, tmproot, tlen); # | ^ openexr-3.2.4/src/lib/OpenEXRCore/internal_posix_file_impl.h:438:14: note: length computed here # 438 | tlen = strlen (tmproot); # | ^~~~~~~~~~~~~~~~ # 455| uint64_t nPrev = (uintptr_t) lastslash - (uintptr_t) srcfile + 1; # 456| strncpy (tmpname, srcfile, nPrev); # 457|-> strncpy (tmpname + nPrev, tmproot, tlen); # 458| strncpy ( # 459| tmpname + nPrev + tlen, Error: COMPILER_WARNING: [#def15] openexr-3.2.4/src/lib/OpenEXRCore/context.c:23: included_from: Included from here. openexr-3.2.4/src/lib/OpenEXRCore/internal_posix_file_impl.h: scope_hint: In function ‘exr_start_write’ openexr-3.2.4/src/lib/OpenEXRCore/internal_posix_file_impl.h:466:13: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length # 466 | strncpy (tmpname, tmproot, tlen); # | ^ openexr-3.2.4/src/lib/OpenEXRCore/internal_posix_file_impl.h:438:14: note: length computed here # 438 | tlen = strlen (tmproot); # | ^~~~~~~~~~~~~~~~ # 464| else # 465| { # 466|-> strncpy (tmpname, tmproot, tlen); # 467| strncpy (tmpname + tlen, srcfile, (size_t) ret->filename.length); # 468| tmpname[newlen] = '\0'; Error: COMPILER_WARNING: [#def16] openexr-3.2.4/src/test/OpenEXRCoreTest/general_attr.cpp:28: included_from: Included from here. openexr-3.2.4/src/lib/OpenEXRCore/string.c: scope_hint: In function ‘testAttrStrings(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)’ openexr-3.2.4/src/lib/OpenEXRCore/string.c:130:25: warning[-Wstringop-truncation]: ‘strncpy’ output truncated copying 3 bytes from a string of length 7 # 130 | strncpy (outs, d, (size_t) len); # | ^ # 128| #endif # 129| if (d) # 130|-> strncpy (outs, d, (size_t) len); # 131| else # 132| memset (outs, 0, (size_t) len); Error: COMPILER_WARNING: [#def17] openexr-3.2.4/src/lib/OpenEXRUtil/ImfCheckFile.cpp: scope_hint: In function ‘bool Imf_3_2::{anonymous}::readCoreTiledPart(exr_context_t, int, bool, bool)’ openexr-3.2.4/src/lib/OpenEXRUtil/ImfCheckFile.cpp:1406:22: warning[-Wunused-but-set-variable=]: variable ‘frv’ set but not used # 1406 | exr_result_t rv, frv; # | ^~~ # 1404| exr_context_t f, int part, bool reduceMemory, bool reduceTime) # 1405| { # 1406|-> exr_result_t rv, frv; # 1407| # 1408| exr_attr_box2i_t datawin; Error: COMPILER_WARNING (CWE-1164): [#def18] openexr-3.2.4/src/test/OpenEXRCoreTest/general_attr.cpp:57:1: warning[-Wunused-function]: ‘void failable_free(void*)’ defined but not used # 57 | failable_free (void* p) # | ^~~~~~~~~~~~~ # 55| # 56| static void # 57|-> failable_free (void* p) # 58| { # 59| if (!p) abort (); Error: COMPILER_WARNING: [#def19] openexr-3.2.4/src/test/OpenEXRCoreTest/performance.cpp: scope_hint: In function ‘uint64_t read_pixels_raw(Imf_3_2::MultiPartInputFile*)’ openexr-3.2.4/src/test/OpenEXRCoreTest/performance.cpp:292:28: warning[-Wunused-but-set-variable=]: variable ‘layercount’ set but not used # 292 | int layercount = 0; # | ^~~~~~~~~~ # 290| InputPart part{*f, 0}; # 291| const ChannelList& chans = head.channels (); # 292|-> int layercount = 0; # 293| int bpp = 0; # 294| Error: COMPILER_WARNING: [#def20] openexr-3.2.4/src/test/OpenEXRTest/testDwaLookups.cpp: scope_hint: In function ‘void testToNonlinear()’ openexr-3.2.4/src/test/OpenEXRTest/testDwaLookups.cpp:315:20: warning[-Wunused-but-set-variable=]: variable ‘toNonlinear’ set but not used # 315 | unsigned short toNonlinear[65536]; # | ^~~~~~~~~~~ # 313| testToNonlinear () # 314| { # 315|-> unsigned short toNonlinear[65536]; # 316| # 317| toNonlinear[0] = 0; Error: COMPILER_WARNING: [#def21] openexr-3.2.4/src/test/OpenEXRTest/testDwaLookups.cpp: scope_hint: In function ‘void testLutHeader()’ openexr-3.2.4/src/test/OpenEXRTest/testDwaLookups.cpp:461:9: warning[-Wunused-but-set-variable=]: variable ‘offsetIdx’ set but not used # 461 | int offsetIdx = 0; # | ^~~~~~~~~ # 459| # 460| printf ("test closestDataOffset[]\n"); # 461|-> int offsetIdx = 0; # 462| int offsetPrev = 0; # 463| for (size_t i = 0; i < workers.size (); ++i) Error: COMPILER_WARNING: [#def22] openexr-3.2.4/src/test/OpenEXRTest/testDwaLookups.cpp:477:9: warning[-Wunused-but-set-variable=]: variable ‘elementIdx’ set but not used # 477 | int elementIdx = 0; # | ^~~~~~~~~~ # 475| # 476| printf ("test closestData[]\n"); # 477|-> int elementIdx = 0; # 478| for (size_t i = 0; i < workers.size (); ++i) # 479| { Error: COMPILER_WARNING (CWE-477): [#def23] openexr-3.2.4/src/test/OpenEXRTest/testStandardAttributes.cpp:15: included_from: Included from here. openexr-3.2.4/src/test/OpenEXRTest/testStandardAttributes.cpp: scope_hint: In function ‘void {anonymous}::generatedFunctions()’ openexr-3.2.4/src/test/OpenEXRTest/testStandardAttributes.cpp:902:35: warning[-Wdeprecated-declarations]: ‘bool Imf_3_2::hasRenderingTransform(const Header&)’ is deprecated: this attribute is obsolete as of OpenEXR v3.2 # 902 | assert (hasRenderingTransform (header) == false); # | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ openexr-3.2.4/src/test/OpenEXRTest/testStandardAttributes.cpp:14: included_from: Included from here. openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.h:46:32: note: declared here # 46 | #define IMF_HAS_SUFFIX(suffix) has##suffix # | ^~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.h:70:21: note: in expansion of macro ‘IMF_HAS_SUFFIX’ # 70 | IMF_EXPORT bool IMF_HAS_SUFFIX (suffix) (const Header& header); \ # | ^~~~~~~~~~~~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.h:629:1: note: in expansion of macro ‘IMF_STD_ATTRIBUTE_DEF_DEPRECATED’ # 629 | IMF_STD_ATTRIBUTE_DEF_DEPRECATED (renderingTransform, RenderingTransform, std::string, "this attribute is obsolete as of OpenEXR v3.2") # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 900| assert (hasWhiteLuminance (header) == false); # 901| assert (hasAdoptedNeutral (header) == false); # 902|-> assert (hasRenderingTransform (header) == false); # 903| assert (hasLookModTransform (header) == false); # 904| assert (hasEnvmap (header) == false); Error: COMPILER_WARNING (CWE-477): [#def24] openexr-3.2.4/src/test/OpenEXRTest/testStandardAttributes.cpp:903:33: warning[-Wdeprecated-declarations]: ‘bool Imf_3_2::hasLookModTransform(const Header&)’ is deprecated: this attribute is obsolete as of OpenEXR v3.2 # 903 | assert (hasLookModTransform (header) == false); # | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.h:46:32: note: declared here # 46 | #define IMF_HAS_SUFFIX(suffix) has##suffix # | ^~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.h:70:21: note: in expansion of macro ‘IMF_HAS_SUFFIX’ # 70 | IMF_EXPORT bool IMF_HAS_SUFFIX (suffix) (const Header& header); \ # | ^~~~~~~~~~~~~~ openexr-3.2.4/src/lib/OpenEXR/ImfStandardAttributes.h:630:1: note: in expansion of macro ‘IMF_STD_ATTRIBUTE_DEF_DEPRECATED’ # 630 | IMF_STD_ATTRIBUTE_DEF_DEPRECATED (lookModTransform, LookModTransform, std::string, "this attribute is obsolete as of OpenEXR v3.2") # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 901| assert (hasAdoptedNeutral (header) == false); # 902| assert (hasRenderingTransform (header) == false); # 903|-> assert (hasLookModTransform (header) == false); # 904| assert (hasEnvmap (header) == false); # 905| assert (hasWrapmodes (header) == false); Error: COMPILER_WARNING (CWE-457): [#def25] openexr-3.2.4/website/src/readTiled1.cpp:45:17: warning[-Wuninitialized]: ‘levelX’ is used uninitialized # 45 | in.readTile (tileX, tileY, levelX, levelY); # | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openexr-3.2.4/website/src/readTiled1.cpp:43:23: note: ‘levelX’ was declared here # 43 | int tileX, tileY, levelX, levelY, tileXMin, tileXMax, tileYMin, tileYMax; # | ^~~~~~ # 43| int tileX, tileY, levelX, levelY, tileXMin, tileXMax, tileYMin, tileYMax; # 44| // [begin v1] # 45|-> in.readTile (tileX, tileY, levelX, levelY); # 46| // [end v1] # 47| in.readTiles (tileXMin, tileXMax, tileYMin, tileYMax, levelX, levelY); Error: COMPILER_WARNING (CWE-457): [#def26] openexr-3.2.4/website/src/readTiled1.cpp:45:17: warning[-Wuninitialized]: ‘levelY’ is used uninitialized # 45 | in.readTile (tileX, tileY, levelX, levelY); # | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openexr-3.2.4/website/src/readTiled1.cpp:43:31: note: ‘levelY’ was declared here # 43 | int tileX, tileY, levelX, levelY, tileXMin, tileXMax, tileYMin, tileYMax; # | ^~~~~~ # 43| int tileX, tileY, levelX, levelY, tileXMin, tileXMax, tileYMin, tileYMax; # 44| // [begin v1] # 45|-> in.readTile (tileX, tileY, levelX, levelY); # 46| // [end v1] # 47| in.readTiles (tileXMin, tileXMax, tileYMin, tileYMax, levelX, levelY); Error: COMPILER_WARNING (CWE-457): [#def27] openexr-3.2.4/website/src/all.cpp:101: included_from: Included from here. openexr-3.2.4/website/src/readTiled1.cpp: scope_hint: In function ‘readTiledOtherVersions(char const*)’ openexr-3.2.4/website/src/readTiled1.cpp:45:17: warning[-Wuninitialized]: ‘tileX’ is used uninitialized # 45 | in.readTile (tileX, tileY, levelX, levelY); # | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openexr-3.2.4/website/src/readTiled1.cpp:43:9: note: ‘tileX’ was declared here # 43 | int tileX, tileY, levelX, levelY, tileXMin, tileXMax, tileYMin, tileYMax; # | ^~~~~ # 43| int tileX, tileY, levelX, levelY, tileXMin, tileXMax, tileYMin, tileYMax; # 44| // [begin v1] # 45|-> in.readTile (tileX, tileY, levelX, levelY); # 46| // [end v1] # 47| in.readTiles (tileXMin, tileXMax, tileYMin, tileYMax, levelX, levelY); Error: COMPILER_WARNING (CWE-457): [#def28] openexr-3.2.4/website/src/readTiled1.cpp:45:17: warning[-Wuninitialized]: ‘tileY’ is used uninitialized # 45 | in.readTile (tileX, tileY, levelX, levelY); # | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openexr-3.2.4/website/src/readTiled1.cpp:43:16: note: ‘tileY’ was declared here # 43 | int tileX, tileY, levelX, levelY, tileXMin, tileXMax, tileYMin, tileYMax; # | ^~~~~ # 43| int tileX, tileY, levelX, levelY, tileXMin, tileXMax, tileYMin, tileYMax; # 44| // [begin v1] # 45|-> in.readTile (tileX, tileY, levelX, levelY); # 46| // [end v1] # 47| in.readTiles (tileXMin, tileXMax, tileYMin, tileYMax, levelX, levelY); Error: COMPILER_WARNING (CWE-457): [#def29] openexr-3.2.4/website/src/readTiled1.cpp:47:18: warning[-Wuninitialized]: ‘tileXMax’ is used uninitialized # 47 | in.readTiles (tileXMin, tileXMax, tileYMin, tileYMax, levelX, levelY); # | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openexr-3.2.4/website/src/readTiled1.cpp:43:49: note: ‘tileXMax’ was declared here # 43 | int tileX, tileY, levelX, levelY, tileXMin, tileXMax, tileYMin, tileYMax; # | ^~~~~~~~ # 45| in.readTile (tileX, tileY, levelX, levelY); # 46| // [end v1] # 47|-> in.readTiles (tileXMin, tileXMax, tileYMin, tileYMax, levelX, levelY); # 48| // [end v2] # 49| } Error: COMPILER_WARNING (CWE-457): [#def30] openexr-3.2.4/website/src/readTiled1.cpp:47:18: warning[-Wuninitialized]: ‘tileXMin’ is used uninitialized # 47 | in.readTiles (tileXMin, tileXMax, tileYMin, tileYMax, levelX, levelY); # | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openexr-3.2.4/website/src/readTiled1.cpp:43:39: note: ‘tileXMin’ was declared here # 43 | int tileX, tileY, levelX, levelY, tileXMin, tileXMax, tileYMin, tileYMax; # | ^~~~~~~~ # 45| in.readTile (tileX, tileY, levelX, levelY); # 46| // [end v1] # 47|-> in.readTiles (tileXMin, tileXMax, tileYMin, tileYMax, levelX, levelY); # 48| // [end v2] # 49| } Error: COMPILER_WARNING (CWE-457): [#def31] openexr-3.2.4/website/src/readTiled1.cpp:47:18: warning[-Wuninitialized]: ‘tileYMax’ is used uninitialized # 47 | in.readTiles (tileXMin, tileXMax, tileYMin, tileYMax, levelX, levelY); # | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openexr-3.2.4/website/src/readTiled1.cpp:43:69: note: ‘tileYMax’ was declared here # 43 | int tileX, tileY, levelX, levelY, tileXMin, tileXMax, tileYMin, tileYMax; # | ^~~~~~~~ # 45| in.readTile (tileX, tileY, levelX, levelY); # 46| // [end v1] # 47|-> in.readTiles (tileXMin, tileXMax, tileYMin, tileYMax, levelX, levelY); # 48| // [end v2] # 49| } Error: COMPILER_WARNING (CWE-457): [#def32] openexr-3.2.4/website/src/readTiled1.cpp:47:18: warning[-Wuninitialized]: ‘tileYMin’ is used uninitialized # 47 | in.readTiles (tileXMin, tileXMax, tileYMin, tileYMax, levelX, levelY); # | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openexr-3.2.4/website/src/readTiled1.cpp:43:59: note: ‘tileYMin’ was declared here # 43 | int tileX, tileY, levelX, levelY, tileXMin, tileXMax, tileYMin, tileYMax; # | ^~~~~~~~ # 45| in.readTile (tileX, tileY, levelX, levelY); # 46| // [end v1] # 47|-> in.readTiles (tileXMin, tileXMax, tileYMin, tileYMax, levelX, levelY); # 48| // [end v2] # 49| }
| analyzer-version-clippy | 1.95.0 |
| analyzer-version-cppcheck | 2.20.0 |
| analyzer-version-gcc | 16.1.1 |
| analyzer-version-gcc-analyzer | 16.1.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.95.0 |
| diffbase-analyzer-version-cppcheck | 2.20.0 |
| diffbase-analyzer-version-gcc | 16.1.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.1.1 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-179.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | openexr-3.4.12-2.fc45 |
| diffbase-store-results-to | /tmp/tmpq0z9peul/openexr-3.4.12-2.fc45.tar.xz |
| diffbase-time-created | 2026-06-01 15:21:12 |
| diffbase-time-finished | 2026-06-01 15:24:58 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpq0z9peul/openexr-3.4.12-2.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpq0z9peul/openexr-3.4.12-2.fc45.src.rpm' |
| diffbase-tool-version | csmock-3.8.5.20260529.133039.g6f3b5c6-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-179.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.20260524.213755.g3c6d0be.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | openexr-3.2.4-7.fc44 |
| store-results-to | /tmp/tmp0fv2_m3k/openexr-3.2.4-7.fc44.tar.xz |
| time-created | 2026-06-01 15:16:44 |
| time-finished | 2026-06-01 15:20:48 |
| title | Fixed findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmp0fv2_m3k/openexr-3.2.4-7.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp0fv2_m3k/openexr-3.2.4-7.fc44.src.rpm' |
| tool-version | csmock-3.8.5.20260529.133039.g6f3b5c6-1.el9 |