You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux x64, Linux arm64, Linux arm32, macOS x64, macOS arm64, Windows x64, Windows x86, Windows arm64
JDK
Not Applicable
Module
Meshopt
Bug description
The meshopt_spatialSortRemap function, as well as potentially other functions in the meshopt module of the lwjgl library has an incorrect buffer size check.
According to the documentation, the destination buffer is expected to have enough space. However, the implementation calculates the vertex_count variable based on the remaining space in the destination buffer and checks the remaining space of vertex_positions buffer.
The correct implementation should calculate vertex_count based on vertex_positions.remaining() and check the remaining space of the destination buffer.
Stacktrace or crash log output
No response
The text was updated successfully, but these errors were encountered:
Version
3.3.4 (snapshot)
Platform
Linux x64, Linux arm64, Linux arm32, macOS x64, macOS arm64, Windows x64, Windows x86, Windows arm64
JDK
Not Applicable
Module
Meshopt
Bug description
The
meshopt_spatialSortRemap
function, as well as potentially other functions in the meshopt module of the lwjgl library has an incorrect buffer size check.According to the documentation, the
destination
buffer is expected to have enough space. However, the implementation calculates thevertex_count
variable based on the remaining space in thedestination
buffer and checks the remaining space ofvertex_positions
buffer.The correct implementation should calculate
vertex_count
based onvertex_positions.remaining()
and check the remaining space of thedestination
buffer.Stacktrace or crash log output
No response
The text was updated successfully, but these errors were encountered: