1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 12:40:35 +00:00
This commit is contained in:
Carles Fernandez 2018-05-21 22:57:25 +02:00
commit 9f7b407b43
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -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 - 1);
strncpy(secured_path, path, sizeof(secured_path));
}
else
{