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

Fixed buffer overrun by rewriting Decode() method to be safer

Created new DecodeSafely() method that takes buffer lengths,
which means we can be sure not to overrun any buffer.

Under ASan, we see that the vtkWebCorePython-TestDataEncoder test
does indeed overrun a buffer with the old method.

Deprecated the old method.
parent 8453c6ce
No related branches found
No related tags found
No related merge requests found
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