1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 22:19:54 +00:00
openmw-tes3mp/components
elsid d2d8a7a940
Fix passing null to memcpy
/home/elsid/dev/openmw/components/detournavigator/navmeshtilescache.cpp:36:24: runtime error: null pointer passed as argument 2, which is declared to never be null
    #0 0x55e37ba4cda5 in makeNavMeshKey /home/elsid/dev/openmw/components/detournavigator/navmeshtilescache.cpp:36
    #1 0x55e37ba4cda5 in DetourNavigator::NavMeshTilesCache::set(osg::Vec3f const&, osg::Vec2i const&, DetourNavigator::RecastMesh const&, std::vector<DetourNavigator::OffMeshConnection, std::allocator<DetourNavigator::OffMeshConnection> > const&, DetourNavigator::NavMeshData&&) /home/elsid/dev/openmw/components/detournavigator/navmeshtilescache.cpp:81
    #2 0x55e37fe3c861 in DetourNavigator::updateNavMesh(osg::Vec3f const&, DetourNavigator::RecastMesh const*, osg::Vec2i const&, osg::Vec2i const&, std::vector<DetourNavigator::OffMeshConnection, std::allocator<DetourNavigator::OffMeshConnection> > const&, DetourNavigator::Settings const&, std::shared_ptr<Misc::ScopeGuarded<DetourNavigator::NavMeshCacheItem> > const&, DetourNavigator::NavMeshTilesCache&) /home/elsid/dev/openmw/components/detournavigator/makenavmesh.cpp:582
    #3 0x55e37fb796ce in DetourNavigator::AsyncNavMeshUpdater::processJob(DetourNavigator::AsyncNavMeshUpdater::Job const&) /home/elsid/dev/openmw/components/detournavigator/asyncnavmeshupdater.cpp:178
    #4 0x55e37fb9a125 in DetourNavigator::AsyncNavMeshUpdater::process() /home/elsid/dev/openmw/components/detournavigator/asyncnavmeshupdater.cpp:144
    #5 0x7f013f585c23 in execute_native_thread_routine /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:80
    #6 0x7f013f8c63e8 in start_thread (/usr/lib/libpthread.so.0+0x93e8)
    #7 0x7f013e91d292 in __GI___clone (/usr/lib/libc.so.6+0x100292)
2021-01-09 22:59:24 +01:00
..
bsa Merge branch 'cleanup_1' into 'master' 2020-10-24 18:43:03 +00:00
bullethelpers components/bullethelpers cleanup; removed warnings by using override 2020-10-22 22:46:18 +02:00
compiler Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
config Remove deadcode. 2021-01-01 16:54:45 +01:00
contentselector Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
crashcatcher Use data() method 2020-12-13 20:50:48 +01:00
debug Change crash file to dmp on window to avoid renaming it 2020-12-13 14:13:07 +01:00
detournavigator Fix passing null to memcpy 2021-01-09 22:59:24 +01:00
esm Fix reference binding to null 2021-01-09 22:59:24 +01:00
esmterrain Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
fallback set minimal boost version; remove #ifdef boost version checks 2020-10-25 22:43:10 +01:00
files Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
fontloader Catch MyGUI exceptions in the FontLoader destructor 2020-06-18 15:13:02 +04:00
interpreter Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
loadinglistener Fix C5204 warnings by adding default virtual destructors 2020-03-26 14:49:12 +04:00
misc Use some C++17 where it makes the code more readable 2020-10-22 07:15:16 +02:00
myguiplatform Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
nif Turn all NIF records into structs 2020-12-16 01:54:31 +03:00
nifbullet Fix tag mismatch 2020-12-28 12:19:22 +04:00
nifosg Make sure NIFLoader avoids working further with empty geometry 2020-12-18 01:22:34 +03:00
process Remove redundant includes 2019-02-23 08:02:12 +04:00
resource Use bip01 for root bone name 2020-12-15 13:51:49 +02:00
sceneutil Use bip01 for root bone name 2020-12-15 13:51:49 +02:00
sdlutil Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
settings Support vectors in settings.cfg 2020-07-24 21:47:49 +02:00
shader Remove existing shader when no longer required 2020-12-03 21:06:02 +00:00
terrain Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
to_utf8 Remove redundant includes 2019-02-23 08:02:12 +04:00
translation Replace all NULLs to nullptr 2018-10-09 10:21:12 +04:00
version Allow getting available version information even when clone is shallow 2017-03-07 21:53:49 +01:00
vfs Merge pull request #3018 from akortunov/emplace 2020-11-01 01:58:56 +03:00
widgets Avoid height for empty message in AutoSizedTextBox 2020-12-07 14:57:25 +01:00
CMakeLists.txt values for this higher than sGroundOffset cause jittering on some surface; use safe-seeming value slightly less than sGroundOffset 2020-12-27 22:16:11 +00:00
doc.hpp second set of additional doxygen comments 2010-09-25 20:15:05 +02:00