mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 12:10:34 +00:00
Fix profile update reading end of lines
This commit is contained in:
parent
12739fccdd
commit
7630688957
@ -259,7 +259,7 @@ void read_results(std::vector<volk_gnsssdr_test_results_t> *results, std::string
|
||||
found = 127;
|
||||
}
|
||||
str_size = config_str.size();
|
||||
char buffer[128];
|
||||
char buffer[128] = {'\0'};
|
||||
config_str.copy(buffer, found + 1, 0);
|
||||
buffer[found] = '\0';
|
||||
single_kernel_result.push_back(std::string(buffer));
|
||||
|
Loading…
Reference in New Issue
Block a user