1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-10-02 08:50:50 +00:00
This commit is contained in:
Carles Fernandez 2018-05-21 22:18:35 +02:00
commit c66817f71d
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);
strncpy(secured_path, path, len - 1);
}
else
{