This commit is contained in:
toni
2017-03-20 14:55:46 +01:00
4 changed files with 217 additions and 4 deletions

View File

@@ -4,6 +4,7 @@
#include <iostream>
#include "Floorplan.h"
#include "FloorplanLINT.h"
#include "../../misc/Debug.h"
#include "../../Assertions.h"
@@ -431,9 +432,6 @@ namespace Floorplan {
poly.points.push_back(p2);
}
}
if (poly.points.size() < 4 || poly.points.size() > 1024) {
throw Exception("detected invalid outline-polygon during XML parsing");
}
return poly;
}