[Mesa-dev] [Bug 36761] glGetAttachedObjects ignores maxcount
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon May 2 07:44:27 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=36761
--- Comment #2 from Lauri Kasanen <curaga at operamail.com> 2011-05-02 07:44:26 PDT ---
Yes, gdb points the segfault to this line in Irrlicht source:
Driver->extGlDeleteObject(shaders[i]);
Which segfaults because it's trying to access the array beyond 8.
To check this I added a printf right after this call:
Driver->extGlGetAttachedObjects(Program, 8, &count, shaders);
And indeed, count is a random value above 32k (32516 in my latest test).
It's possible this is an Irrlicht bug as well, but GetAttachedObjects returns
something huge in the count param.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the mesa-dev
mailing list