Closed
Bug 603354
Opened 14 years ago
Closed 14 years ago
hasKHRImage is used uninitialized in EGLLibrary::EnsureInitialized
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla2.0b8
People
(Reporter: timeless, Assigned: timeless)
References
(Blocks 1 open bug)
Details
(Keywords: coverity)
Attachments
(1 file)
826 bytes,
patch
|
bas.schouten
:
review+
joe
:
approval2.0+
|
Details | Diff | Splinter Review |
196 static class EGLLibrary
266 PRBool EnsureInitialized()
366 PRBool hasKHRImage;
Let this condition be false:
367 if (strstr(extensions, "EGL_KHR_image ") ||
368 (strlen(extensions) >= strlen("EGL_KHR_image") &&
369 strcmp(extensions+(strlen(extensions)-strlen("EGL_KHR_image")), "EGL_KHR_image")))
370 {
skip this statement:
371 hasKHRImage = PR_TRUE;
372 }
hasKHRImage is used uninitialized here:
387 if (hasKHRImage) {
388 mHave_EGL_KHR_image_base = PR_TRUE;
389 mHave_EGL_KHR_image_pixmap = PR_TRUE;
390 }
Updated•14 years ago
|
Attachment #482492 -
Flags: review?(bas.schouten) → review+
Attachment #482492 -
Flags: approval2.0?
Updated•14 years ago
|
Attachment #482492 -
Flags: approval2.0? → approval2.0+
Keywords: checkin-needed
Comment 2•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
Updated•6 years ago
|
Blocks: coverity-analysis
You need to log in
before you can comment on or make changes to this bug.
Description
•