Skip to content

Conversation

@adevoss
Copy link
Owner

@adevoss adevoss commented Dec 14, 2025

Thanks for contributing to Navit!
Before opening a pull request on navit, make sure your commit message follows our guidelines:
https://navit.readthedocs.io/en/trunk/development/commit_guidelines.html

and that your code is compliant with out coding style guidelines:
https://navit.readthedocs.io/en/trunk/development/programming_guidelines.html

jkoan and others added 11 commits December 12, 2025 13:43
We need all the help we can get to fix memory problems. Asan can be helpful.
This should clarify usage of the demo vehicle
This documents how to manually activate a vehicle via gui during runtime of navit
The actual speed of a vehicle on a segment is lower than the maximum
speed. On long routes, this difference can add up to significant
deviations.

This implements an improved estimation that considers the vehicle speed
to be less than the maximum possible.
ctx.attr is never read, but it is being written to. The compiler
complains about dangling pointers on one of those writes. Removing the
attribute entirely from the struct seems the prodent choice, which is
implemented by this commit and which resolves the warning.
This clarifies the ifdef usage on HAVE_API_WIN32. By breaking up the
ifdef, the syntax becomes sound and the warning disappears
… size

distances is to be allocated with count elements and that allows
elements with index between 0 and count -1. Without the patch, there is
a potential for write out of bounds and the compiler warns about a read
out of bounds in line 201. This commit fixes both issues.
This replaces strncpy with strncat in places where string truncation
might happen which could cause a non-terminated destination buffer
@adevoss adevoss merged commit 2eb6093 into select-voice Dec 14, 2025
16 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants