Skip to content
Snippets Groups Projects
Commit c0e49046 authored by ilor's avatar ilor
Browse files

fix issue (segfault) with tags containing :: or ending with a :

parent 0e3d0347
Branches
No related merge requests found
......@@ -141,6 +141,7 @@ namespace {
std::vector< mask_t > & current,
const std::vector<mask_t> & to_add, mask_t to_add_attr)
{
if (to_add.empty()) return;
size_t current_size = current.size();
for (size_t ai = 1; ai < to_add.size(); ++ai) {
for (size_t oi = 0; oi < current_size; ++oi) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment