Skip to content

Commit

Permalink
Fix user-after-free for InspectionNode.
Browse files Browse the repository at this point in the history
  • Loading branch information
josephbirkner committed Sep 13, 2024
1 parent 9ea1f08 commit 3701de1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/core/include/erdblick/inspection.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "sfl/small_vector.hpp"
#include <unordered_map>
#include <cstdint>
#include <deque>

namespace erdblick
{
Expand All @@ -32,7 +33,7 @@ class InspectionConverter
ValueType type_ = ValueType::Null;
std::string hoverId_; // For highlight attribs/relations on hovering.
std::string info_;
std::vector<InspectionNode> children_;
std::deque<InspectionNode> children_;
JsValue direction_;
std::string geoJsonPath_;

Expand Down

0 comments on commit 3701de1

Please sign in to comment.