mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-11-19 16:24:58 +00:00
Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next
This commit is contained in:
commit
c66817f71d
@ -1967,7 +1967,7 @@ bool Gnuplot::get_program_path()
|
||||
size_t len = strlen(path);
|
||||
if (path && len < 4046 * sizeof(char))
|
||||
{
|
||||
strncpy(secured_path, path, len);
|
||||
strncpy(secured_path, path, len - 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user