mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 04:30:33 +00:00
Fix container overflow detected in ASAN mode
This commit is contained in:
parent
69f71107c7
commit
43df43ff9d
@ -902,8 +902,7 @@ bool Rtklib_Solver::get_PVT(const std::map<int, Gnss_Synchro> &gnss_observables_
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<double> azel;
|
||||
azel.reserve(used_sats * 2);
|
||||
std::vector<double> azel(used_sats * 2);
|
||||
int index_aux = 0;
|
||||
for (auto &i : rtk_.ssat)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user