This fixes access to uninitialized string buffers in pilot.cpp in two cases that are very similar.
From earlier commits an uninitialized string buffer remained but was used nonetheless in logging functions where
a std::string, that was introduced meanwhile, should have been used instead.
This fixes both cases and removes the now unused string buffer.
Related Issues
Screenshots (if applicable)
Checklist
[x] I have tested my changes locally and verified that they work as intended.
[x] I have documented any new or modified functionality.
[x] I have reviewed the changes to ensure they do not introduce any unnecessary complexity or duplicate code.
[x] I understand that by submitting this pull request, I am agreeing to license my contributions under the project's license.
Pull Request Type
Description
This fixes access to uninitialized string buffers in pilot.cpp in two cases that are very similar. From earlier commits an uninitialized string buffer remained but was used nonetheless in logging functions where a
std::string
, that was introduced meanwhile, should have been used instead.This fixes both cases and removes the now unused string buffer.
Related Issues
Screenshots (if applicable)
Checklist
Additional Comments