lime
lime copied to clipboard
mis-handling of string sizes in lime_gl_get_active_attrib
https://github.com/openfl/lime/blob/758c5e2761b1f58f898e135fb00bebfd6b5a1cf6/project/src/graphics/opengl/OpenGLBindings.cpp#L1681
This function (and the C function following it) are full of misconceptions for how the buffer size should be managed. The problems begin in the line above (where a symbolic constant is used as a maximum buffer size which should be got with glGetProgram instead) but the function is full of problems as far as I can tell.
I can't suggest fixes because I can't test them readily. It's a long story.