You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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)
4 years ago
..
areatype.hpp Use actor speed to define area cost for pathfinding 5 years ago
asyncnavmeshupdater.cpp use std::optional instead of boost::optional 4 years ago
asyncnavmeshupdater.hpp purge boost/optional.hpp headers 4 years ago
bounds.hpp Split makeNavMeshTileData 6 years ago
cachedrecastmeshmanager.cpp use std::optional instead of boost::optional 4 years ago
cachedrecastmeshmanager.hpp purge boost/optional.hpp headers 4 years ago
chunkytrimesh.cpp Fix boundary check 4 years ago
chunkytrimesh.hpp Use callback to iterate over chunks 6 years ago
debug.cpp Unify streams usage to support non-ASCII paths (bug #5239) 5 years ago
debug.hpp Use status codes to handle navigator errors instead of exceptions 5 years ago
dtstatus.hpp Remove macroses to check recastnavigation functions result 6 years ago
exceptions.hpp Update NavMesh one by one tile in order from nearest to player 6 years ago
findrandompointaroundcircle.cpp use std::optional instead of boost::optional 4 years ago
findrandompointaroundcircle.hpp purge boost/optional.hpp headers 4 years ago
findsmoothpath.cpp Replace zeroes and nulls by nullptrs 4 years ago
findsmoothpath.hpp Replace zeroes and nulls by nullptrs 4 years ago
flags.hpp Add pathgrid to navmesh as off mesh connection 5 years ago
gettilespositions.hpp Move makeOsgVec3f() to settingsutils.hpp 6 years ago
makenavmesh.cpp Add cached flag to update navmesh status 4 years ago
makenavmesh.hpp Make NavMeshCacheItem consistent 6 years ago
navigator.cpp use std::optional instead of boost::optional 4 years ago
navigator.hpp use std::optional instead of boost::optional 4 years ago
navigatorimpl.cpp stop navmesh updates when ai off 5 years ago
navigatorimpl.hpp components/compiler cleanup; also cleaned up related cascading warnings; fixed up final/override issues 4 years ago
navigatorstub.hpp components/compiler cleanup; also cleaned up related cascading warnings; fixed up final/override issues 4 years ago
navmeshcacheitem.hpp Add cached flag to update navmesh status 4 years ago
navmeshdata.hpp Cache navmesh tiles 6 years ago
navmeshmanager.cpp Add pathgrid to navmesh as off mesh connection 5 years ago
navmeshmanager.hpp Add pathgrid to navmesh as off mesh connection 5 years ago
navmeshtilescache.cpp Fix passing null to memcpy 4 years ago
navmeshtilescache.hpp Use memcpy to create navmesh key 4 years ago
objectid.hpp Get rid of warning: dynamic exception specifications are deprecated 4 years ago
offmeshconnection.hpp Add pathgrid to navmesh as off mesh connection 5 years ago
offmeshconnectionsmanager.hpp Add pathgrid to navmesh as off mesh connection 5 years ago
recastallocutils.hpp use c++11 std::align from <memory> (#2026) 6 years ago
recastglobalallocator.hpp Add global recast allocator to allocate temp buffers on stack 6 years ago
recastmesh.cpp Support recast mesh rendering 5 years ago
recastmesh.hpp Support recast mesh rendering 5 years ago
recastmeshbuilder.cpp add more optionals and casserts for windows 4 years ago
recastmeshbuilder.hpp Optimize recast mesh size by vertex deduplication 5 years ago
recastmeshmanager.cpp use std::optional instead of boost::optional 4 years ago
recastmeshmanager.hpp add more optionals and casserts for windows 4 years ago
recastmeshobject.cpp Update scaled objects in navigator 6 years ago
recastmeshobject.hpp Update scaled objects in navigator 6 years ago
recastmeshtiles.hpp Support recast mesh rendering 5 years ago
recasttempallocator.hpp use c++11 std::align from <memory> (#2026) 6 years ago
settings.cpp use std::optional instead of boost::optional 4 years ago
settings.hpp purge boost/optional.hpp headers 4 years ago
settingsutils.hpp Use custom steps size to make smooth path depending on half extents 6 years ago
sharednavmesh.hpp Cache navmesh tiles 6 years ago
status.hpp Use status codes to handle navigator errors instead of exceptions 5 years ago
tilebounds.hpp Use recastnavigation to find path 6 years ago
tilecachedrecastmeshmanager.cpp use std::optional instead of boost::optional 4 years ago
tilecachedrecastmeshmanager.hpp use std::optional instead of boost::optional 4 years ago
tileposition.hpp Use recastnavigation to find path 6 years ago