Fixed out of bounds string access found by ASan
Check length of offset before taking adrees of a range like `&string[n - 8]`. Looked for similar cases and also reordered another case to check length first, may or may not have been a problem, but safer this way. ASan would catch this *during* VTK builds, while generating the wrappings.
Loading