Skip to content
Snippets Groups Projects
Forked from VTK / VTK
Source project has a limited visibility.
Sean McBride's avatar
Sean McBride authored
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.

(cherry picked from commit ccbda30c)
aeeb3225
History
Name Last commit Last update
..