You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=================================================================
==703791==ERROR: AddressSanitizer: calloc parameters overflow: count * size (-1577056804 * 72) cannot be represented in type size_t (thread T0)
#0 0x58f14baa85a8 in __interceptor_calloc (/home/***/nav2/install/nav2_amcl/lib/nav2_amcl/amcl+0xaa5a8) (BuildId: 3d2122b4d0d935f654c2770d7e58da83885f4906)
#1 0x7f2c88b92e93 in pf_kdtree_alloc (/home/***/nav2/install/nav2_amcl/lib/libpf_lib.so+0x9e93) (BuildId: 92f6f6da07c69e4e8fdb674a2fb2b39a58de9a00)
==703791==ABORTING
Additional information
according to following code lines, the value of min_particles might influence the value of max_particles, so it could also lead to the buffer-overflow bug
this issue is mainly for adding ticket for #4005
Bug report
Required Info:
Steps to reproduce issue
Here is our launch command:
there's only one difference between
my_nav2_params.yaml
and defaultednav2_params.yaml
:Expected behavior
no bug occurs
Actual behavior
face to the asan report:
Additional information
according to following code lines, the value of min_particles might influence the value of max_particles, so it could also lead to the buffer-overflow bug
navigation2/nav2_amcl/src/amcl_node.cpp
Lines 1133 to 1138 in 4fa12ac
The text was updated successfully, but these errors were encountered: