Files
comaps/libs/routing
Henry Sternberg e3abbc712b [routing] Fix crash on 32-bit devices with conditional access
The deserialization of conditional road access data was using
size_t which is 8 bytes on 64-bit (where maps are generated)
but only 4 bytes on 32-bit devices. This caused stream
misalignment and eventual std::length_error when garbage data
was interpreted as a huge vector size.

Fix by using uint64_t to always read 8 bytes, matching what
64-bit build servers write.

Signed-off-by: Henry Sternberg <henry@bluelightmaps.com>
2026-01-09 11:15:38 +01:00
..
2025-09-05 20:35:15 +02:00
2025-09-05 20:35:15 +02:00
2025-08-14 20:52:04 +07:00
2025-08-14 20:52:04 +07:00
2025-09-05 20:35:15 +02:00
2025-09-05 20:35:15 +02:00
2025-08-14 20:52:04 +07:00
2025-08-14 20:52:04 +07:00
2025-08-14 20:52:04 +07:00
2025-08-14 20:52:04 +07:00
2025-09-05 20:35:15 +02:00
2025-08-14 20:52:04 +07:00
2025-08-14 20:52:04 +07:00
2025-09-05 20:35:15 +02:00
2025-09-05 20:35:15 +02:00
2025-08-14 20:52:04 +07:00