Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cBlockArea::FillRelCuboid: Invalid write of size 1 #4454

Open
Seadragon91 opened this issue Jan 3, 2020 · 0 comments
Open

cBlockArea::FillRelCuboid: Invalid write of size 1 #4454

Seadragon91 opened this issue Jan 3, 2020 · 0 comments

Comments

@Seadragon91
Copy link
Contributor

@Seadragon91 Seadragon91 commented Jan 3, 2020

Actual behavior

This function writes out-of-bounds.

Steps to reproduce the behavior

local obj = cBlockArea()
obj:Create(10, 10, 10, 47)
obj:FillRelCuboid(1, 1, 1, 98, 1, 1, 1, 1, 1, 1, 1)

Running this code under debug will assert here:

ASSERT(a_RelPos.y < a_Size.y);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.