03-02-2017, 06:39 PM
(This post was last modified: 03-02-2017, 06:44 PM by Seadragon91.)
@NiLSPACE I excluded cBlockArea from fuzzing, because there is already a known problem.
This writes out of bounds and will corrupt memory. It can cause a crash directly or after a few tries.
The solution would be to check the passing params, but that would have a huge impact on performance.
Code:
local area = cBlockArea()
area:Create(10, 10, 10)
for i = 10, 1000 do
area:SetBlockType(i, i, i, 1)
end
The solution would be to check the passing params, but that would have a huge impact on performance.