| Summary: | glxextensions.c - posibile write outside variable memory range | ||
|---|---|---|---|
| Product: | Mesa | Reporter: | pinky <master_up> |
| Component: | GLX | Assignee: | mesa-dev |
| Status: | RESOLVED NOTABUG | QA Contact: | |
| Severity: | normal | ||
| Priority: | high | ||
| Version: | 6.5 | ||
| Hardware: | x86 (IA32) | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
| Attachments: |
assertin caused by glxinfo
sory, previous is invaid |
||
Created attachment 6070 [details] [review] assertin caused by glxinfo Created attachment 6071 [details] [review] sory, previous is invaid See src/glx/x11/glxextensions.h:208..230. So the code seems to be correct (and your assertion seems wrong). |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
file (Code): src/glx/x11/glxextensions.c LINE: 427 for ( i = 0 ; known_gl_extensions[i].name != NULL ; i++ ) { /* Just in case */ assert ( i < __NUM_GL_MAX_EXTS ); const unsigned bit = known_gl_extensions[i].bit; if ( known_gl_extensions[i].client_support ) { SET_BIT( client_gl_support, bit ); } if ( known_gl_extensions[i].client_only ) { SET_BIT( client_gl_only, bit ); } --------------------------- number of items in known_gl_extensions might be greater then size of client_gl_support*8 so I try apply atached patch, build and run, and -> assert is comming May someone confirm this?