-
- Downloads
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.
Showing
- IO/Core/vtkBase64Utilities.cxx 58 additions, 0 deletionsIO/Core/vtkBase64Utilities.cxx
- IO/Core/vtkBase64Utilities.h 21 additions, 6 deletionsIO/Core/vtkBase64Utilities.h
- Rendering/LIC/vtkSurfaceLICPainter.cxx 4 additions, 3 deletionsRendering/LIC/vtkSurfaceLICPainter.cxx
- Rendering/LICOpenGL2/vtkSurfaceLICMapper.cxx 4 additions, 3 deletionsRendering/LICOpenGL2/vtkSurfaceLICMapper.cxx
- Web/Core/Testing/Python/TestDataEncoder.py 2 additions, 2 deletionsWeb/Core/Testing/Python/TestDataEncoder.py
Loading
Please register or sign in to comment