Open HiImJulien opened 3 years ago
The specific bug you're running into with the heap corruption is that I never verify that the list size matches the hint in the inner loop and then throw a similar exception. I might have had it at one point and removed for better performance.
Hey there! Lately I am fighting with heap corruptions, that are caused by the custom deleter used by the class
Buffer
. This bug probably related to #3 and #46.The file I tried to parse, uses tri- and quadfaces; while latter were unwanted it causes your parser to exhibit following behavior:
Reading the lists with a size hint
causes a Heap corruption, when cleaning up the buffer.
Omitting the
list_size_hint
yields the exception, that "Variable length lists are not supported." as probably expected.