Skip to content
Snippets Groups Projects
Commit ccbda30c authored by Sean McBride's avatar Sean McBride
Browse files

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.
parent 5085fa00
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment