-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
Buffer overflow when creating CSGPolygon from editor #51351
Comments
I think this is introduced by #46800. godot/drivers/gles3/rasterizer_scene_gles3.cpp Line 2112 in 41cf7f2
CC @The-O-King |
Commenting to let you know I'm looking into it! |
@The-O-King Any update? We're at 3.4 beta 6 and this would best be fixed before the next build which I'd like to be RC 1. |
Ah apologies, I have been on vacation and prior to that this got lost in a recent shuffle at work, I'll definitely try to get this fixed by Monday, I don't imagine that it will take too much time, just add a check, something along the lines of |
Ok update - I have a windows machine and I haven't been able to reproduce the same crashing behavior as seen in the original report, but I still created #53966 which I think should take care of the issue, does anyone have a Linux machine that is able to test and make sure thing change resolves the issue? Also I'm still not entirely sure whether or not there are other types of geometry that should be checked for before doing the cast (VS::INSTANCE_PARTICLES?) |
To reproduce you'd have to do a built with address sanitizer. I assume #53966 fixed it, please reopen/comment if that's not the case after testing. |
Godot version
v3.4.beta.custom_build. 7c1ee04
Doesn't happens with 4.0
System information
Ubuntu 21.04 - Nvidia GTX 970, Gnome shell 3.38 X11
Issue description
Address Sanitizer shows this buffer overflow after creating CSGPolygon
Steps to reproduce
Just created CSGPolygon from menu
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: