-/opt/gcc-dev/include/c++/12.0.1/bits/stl_algobase.h:385:25: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] +/opt/gcc-dev/include/c++/13.0.0/bits/stl_algobase.h:385:25: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] +/opt/gcc-dev/include/c++/13.0.0/bits/stl_vector.h:378:41: warning: leak of ‘operator new(424)’ [CWE-401] [-Wanalyzer-malloc-leak] +cc1plus: warning: use of uninitialized value ‘*(const long int*)((char*)&t + offsetof(EntityHandle, HandleType::t))’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] +Arx/src/ai/PathFinderManager.cpp:201:61: warning: allocated buffer size is not a multiple of the pointee's size [CWE-131] [-Wanalyzer-allocation-size] +Arx/src/ai/PathFinderManager.cpp:204:65: warning: leak of ‘’ [CWE-401] [-Wanalyzer-malloc-leak] -Arx/src/animation/Animation.cpp:98:45: warning: use of uninitialized value ‘*_38 = PHI <&i(4), &D.273407(5)>’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] -Arx/src/animation/Animation.cpp:107:51: warning: use of uninitialized value ‘*_43 = PHI <&i(14), &D.273414(15)>’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] +Arx/src/animation/Animation.cpp:98:45: warning: use of uninitialized value ‘*_38 = PHI <&i(4), &D.271018(5)>’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] +Arx/src/animation/Animation.cpp:107:51: warning: use of uninitialized value ‘*_43 = PHI <&i(14), &D.271025(15)>’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] +Arx/src/cinematic/CinematicController.cpp:58:48: warning: use of possibly-NULL ‘operator new(408)’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] -Arx/src/game/EntityManager.cpp:64:16: warning: dereference of possibly-NULL ‘operator new(56)’ [CWE-690] [-Wanalyzer-possible-null-dereference] +Arx/src/game/EntityManager.cpp:64:16: warning: dereference of possibly-NULL ‘operator new(72)’ [CWE-690] [-Wanalyzer-possible-null-dereference] +Arx/src/game/EntityManager.cpp:75:45: warning: leak of ‘’ [CWE-401] [-Wanalyzer-malloc-leak] +Arx/src/game/magic/spells/SpellsLvl01.cpp:217:33: warning: use of possibly-NULL ‘operator new(160)’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] +Arx/src/game/magic/spells/SpellsLvl01.cpp:219:33: warning: use of possibly-NULL ‘operator new(160)’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] +Arx/src/graphics/Vertex.h:134:17: warning: dereference of NULL ‘__cur’ [CWE-476] [-Wanalyzer-null-dereference] +Arx/src/graphics/Vertex.h:134:17: warning: dereference of possibly-NULL ‘__cur’ [CWE-690] [-Wanalyzer-possible-null-dereference] +Arx/src/graphics/data/FTL.cpp:132:33: warning: use of possibly-NULL ‘operator new(424)’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] +Arx/src/graphics/data/Mesh.cpp:1120:85: warning: leak of ‘’ [CWE-401] [-Wanalyzer-malloc-leak] +Arx/src/graphics/data/Mesh.cpp:1151:17: warning: leak of ‘’ [CWE-401] [-Wanalyzer-malloc-leak] -Arx/src/graphics/image/Image.cpp:616:23: warning: use of possibly-NULL ‘operator new []((*_12 = PHI <&width(2), &D.234217(3)> * ))’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] +Arx/src/graphics/image/Image.cpp:616:23: warning: use of possibly-NULL ‘operator new []((*_12 = PHI <&width(2), &D.229883(3)> * ))’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] -Arx/src/graphics/opengl/GLVertexBuffer.h:582:9: warning: dereference of possibly-NULL ‘operator new(64)’ [CWE-690] [-Wanalyzer-possible-null-dereference] +Arx/src/graphics/particle/ParticleSystem.cpp:187:23: warning: use of uninitialized value ‘vvz’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] -Arx/src/graphics/texture/PackedTexture.cpp:147:12: warning: dereference of NULL ‘’ [CWE-476] [-Wanalyzer-null-dereference] +Arx/src/graphics/texture/PackedTexture.cpp:161:17: warning: leak of ‘’ [CWE-401] [-Wanalyzer-malloc-leak] +Arx/src/graphics/texture/PackedTexture.cpp:175:17: warning: leak of ‘’ [CWE-401] [-Wanalyzer-malloc-leak] +Arx/src/gui/Console.h:75:55: warning: dereference of possibly-NULL ‘operator new(16)’ [CWE-690] [-Wanalyzer-possible-null-dereference] -Arx/src/io/SaveBlock.cpp:200:32: warning: use of uninitialized value ‘’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] -Arx/src/io/SaveBlock.cpp:212:32: warning: use of uninitialized value ‘’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] -Arx/src/io/SaveBlock.cpp:232:32: warning: use of uninitialized value ‘’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] -Arx/src/io/SaveBlock.cpp:598:33: warning: use of uninitialized value ‘’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] -Arx/src/io/fs/Filesystem.h:83:24: warning: use of uninitialized value ‘’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] +Arx/src/io/log/FileLogger.h:39:17: warning: dereference of possibly-NULL ‘operator new(520)’ [CWE-690] [-Wanalyzer-possible-null-dereference] +Arx/src/io/resource/PakReader.cpp:453:93: warning: use of possibly-NULL ‘operator new(520)’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] +Arx/src/io/resource/PakReader.cpp:612:24: warning: use of uninitialized value ‘’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] +Arx/src/io/resource/ResourcePath.cpp:115:44: warning: use of uninitialized value ‘’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] +Arx/src/lib/ArxIO.cpp:100:20: warning: use of possibly-NULL ‘*out’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] +Arx/src/platform/Process.cpp:98:35: warning: leak of file descriptor ‘open("/dev/null", 524290)’ [CWE-775] [-Wanalyzer-fd-leak] +Arx/src/platform/Process.cpp:450:37: warning: ‘read’ on possibly invalid file descriptor ‘dev_null’ [-Wanalyzer-fd-use-without-check] -Arx/src/platform/Process.h:69:19: warning: use of uninitialized value ‘*command.D.121058._M_impl.D.120397._M_start’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] +Arx/src/platform/Process.h:69:19: warning: use of uninitialized value ‘*command.D.123156._M_impl.D.122495._M_start’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] +Arx/src/scene/Interactive.cpp:1576:53: warning: use of possibly-NULL ‘operator new(4368)’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] +Arx/src/scene/Interactive.cpp:1580:28: warning: use of possibly-NULL ‘operator new(1576)’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] +Arx/src/script/Script.cpp:1349:26: warning: use of uninitialized value ‘’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] +Arx/src/script/ScriptedInventory.cpp:412:32: warning: use of possibly-NULL ‘operator new(80)’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] +Arx/tools/savetool/SaveFix.cpp:49:25: warning: use of uninitialized value ‘’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value]