Skip to content

Commit

Permalink
B OpenNebula#5040: Fix posible segfault in LogDB::purge_log (OpenNebu…
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Czerný authored Aug 19, 2020
1 parent a9a2d38 commit fb0d1bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sql/LogDB.cc
Original file line number Diff line number Diff line change
Expand Up @@ -628,8 +628,8 @@ int LogDB::purge_log()

multiple_cb<std::vector, uint64_t> cb_info;
single_cb<string> cb_min_idx;
std::vector<uint64_t> maxmin_i;
std::vector<uint64_t> maxmin_e;
std::vector<uint64_t> maxmin_i{0, 0};
std::vector<uint64_t> maxmin_e{0, 0};
string min_idx;

int rc = 0;
Expand Down

0 comments on commit fb0d1bb

Please sign in to comment.