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
if (destination_value > params->coordinates.size())
In the sample request, this check technically passes, and then later in the table plugin, we try to access non-existent position 2 of the input coordinates array and segfault.
The same request but with sources: [ 0, 1, 2, 3 ] returns the error as expected, "Destination indices must be less than or equal to the number of coordinates"
The text was updated successfully, but these errors were encountered:
Sample crashing request (node osrm input):
https://github.com/Project-OSRM/osrm-backend/blob/master/include/nodejs/node_osrm_support.hpp#L1185
In the sample request, this check technically passes, and then later in the table plugin, we try to access non-existent position 2 of the input coordinates array and segfault.
The same request but with
sources: [ 0, 1, 2, 3 ]
returns the error as expected, "Destination indices must be less than or equal to the number of coordinates"The text was updated successfully, but these errors were encountered: