From f9446ed3f1e040f73709cf721fd07623e5ec029d Mon Sep 17 00:00:00 2001 From: Jiri Vlasak Date: Thu, 28 May 2020 13:05:56 +0200 Subject: [PATCH] Fix invalid memory read access --- src/rrts.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rrts.cc b/src/rrts.cc index f97c667..43854bc 100644 --- a/src/rrts.cc +++ b/src/rrts.cc @@ -331,7 +331,6 @@ bool RRTS::next() return next; this->rewire(); unsigned scnt = this->steered().size(); - this->steered().erase(this->steered().begin()); this->join_steered(&this->nodes().back()); RRTNode *just_added = &this->nodes().back(); while (scnt > 0) { -- 2.39.2