You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If RN2 is installed within another user environment (not 'pi') and the username exceeds 9 characters, the path to the TLE file (/home/<username>/raspberry-noaa-v2/tmp/orbit.tle) gets too long and leads to a buffer overflow in predict.
buffer overflow detected : terminated
Aborted
A fix must be implemented in predict:
if (strcmp(argv[x],"-t")==0)
{
z=x+1;
if (z<=y && argv[z][0] && argv[z][0]!='-')
strncpy(tle_cli,argv[z],48);
}
If RN2 is installed within another user environment (not 'pi') and the username exceeds 9 characters, the path to the TLE file (
/home/<username>/raspberry-noaa-v2/tmp/orbit.tle
) gets too long and leads to a buffer overflow inpredict
.A fix must be implemented in
predict
:https://github.com/kd2bd/predict/blob/517fccf421909b4974151b6ca30810586ca658a3/predict.c#L6303
The text was updated successfully, but these errors were encountered: