1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00
OpenMW/components/detournavigator
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
..
areatype.hpp
asyncnavmeshupdater.cpp use std::optional instead of boost::optional 2020-10-25 00:33:41 +02:00
asyncnavmeshupdater.hpp purge boost/optional.hpp headers 2020-10-25 00:58:44 +02:00
bounds.hpp
cachedrecastmeshmanager.cpp use std::optional instead of boost::optional 2020-10-25 00:33:41 +02:00
cachedrecastmeshmanager.hpp purge boost/optional.hpp headers 2020-10-25 00:58:44 +02:00
chunkytrimesh.cpp Fix boundary check 2020-11-18 18:52:00 +01:00
chunkytrimesh.hpp
debug.cpp
debug.hpp
dtstatus.hpp
exceptions.hpp
findrandompointaroundcircle.cpp use std::optional instead of boost::optional 2020-10-25 00:33:41 +02:00
findrandompointaroundcircle.hpp purge boost/optional.hpp headers 2020-10-25 00:58:44 +02:00
findsmoothpath.cpp Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
findsmoothpath.hpp Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
flags.hpp
gettilespositions.hpp
makenavmesh.cpp
makenavmesh.hpp
navigator.cpp use std::optional instead of boost::optional 2020-10-25 00:33:41 +02:00
navigator.hpp use std::optional instead of boost::optional 2020-10-25 00:33:41 +02:00
navigatorimpl.cpp
navigatorimpl.hpp components/compiler cleanup; also cleaned up related cascading warnings; fixed up final/override issues 2020-10-22 23:57:53 +02:00
navigatorstub.hpp components/compiler cleanup; also cleaned up related cascading warnings; fixed up final/override issues 2020-10-22 23:57:53 +02:00
navmeshcacheitem.hpp
navmeshdata.hpp
navmeshmanager.cpp
navmeshmanager.hpp
navmeshtilescache.cpp Fix passing null to memcpy 2021-01-09 22:59:24 +01:00
navmeshtilescache.hpp Use memcpy to create navmesh key 2020-10-08 19:55:56 +02:00
objectid.hpp Get rid of warning: dynamic exception specifications are deprecated 2020-10-10 12:12:55 +02:00
offmeshconnection.hpp
offmeshconnectionsmanager.hpp
recastallocutils.hpp
recastglobalallocator.hpp
recastmesh.cpp
recastmesh.hpp
recastmeshbuilder.cpp add more optionals and casserts for windows 2020-10-25 01:34:04 +02:00
recastmeshbuilder.hpp
recastmeshmanager.cpp use std::optional instead of boost::optional 2020-10-25 00:33:41 +02:00
recastmeshmanager.hpp add more optionals and casserts for windows 2020-10-25 01:34:04 +02:00
recastmeshobject.cpp
recastmeshobject.hpp
recastmeshtiles.hpp
recasttempallocator.hpp
settings.cpp use std::optional instead of boost::optional 2020-10-25 00:33:41 +02:00
settings.hpp purge boost/optional.hpp headers 2020-10-25 00:58:44 +02:00
settingsutils.hpp
sharednavmesh.hpp
status.hpp
tilebounds.hpp
tilecachedrecastmeshmanager.cpp use std::optional instead of boost::optional 2020-10-25 00:33:41 +02:00
tilecachedrecastmeshmanager.hpp use std::optional instead of boost::optional 2020-10-25 00:33:41 +02:00
tileposition.hpp