mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
Fix out-of-bound access
This commit is contained in:
parent
ac9ceb7c53
commit
dfa11ab364
@ -355,8 +355,7 @@ void readsp3(const char *file, nav_t *nav, int opt)
|
||||
*-----------------------------------------------------------------------------*/
|
||||
int readsap(const char *file, gtime_t time, nav_t *nav)
|
||||
{
|
||||
pcv_t aux = { 0, {}, {}, {0,0}, {0,0}, {{},{}}, {{},{}} };
|
||||
pcvs_t pcvs = {0, 0, &aux };
|
||||
pcvs_t pcvs = {0, 0, (pcv_t*){ 0 } };
|
||||
pcv_t pcv0 = { 0, {}, {}, {0,0}, {0,0}, {{},{}}, {{},{}} }, *pcv;
|
||||
int i;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user