From 1eb8f43fd9d3220607ba96e5ddd8dec3ac5acb45 Mon Sep 17 00:00:00 2001
From: "alokp@chromium.org"
 <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Tue, 14 Dec 2010 21:53:14 +0000
Subject: [PATCH] Fixed compile error due to uninitialized variable.
 TBR=apatrick@chromium.org Review URL: http://codereview.chromium.org/5785005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69189 0039d316-1c4b-4281-b951-d872f2087c98
---
 third_party/mesa/MesaLib/src/egl/main/eglconfig.c | 2 +-
 third_party/mesa/README.chromium                  | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/third_party/mesa/MesaLib/src/egl/main/eglconfig.c b/third_party/mesa/MesaLib/src/egl/main/eglconfig.c
index ca28b5f91816e..1c97e4287eb7b 100644
--- a/third_party/mesa/MesaLib/src/egl/main/eglconfig.c
+++ b/third_party/mesa/MesaLib/src/egl/main/eglconfig.c
@@ -242,7 +242,7 @@ _eglValidateConfig(const _EGLConfig *conf, EGLBoolean for_matching)
 
    /* check attributes by their types */
    for (i = 0; i < ARRAY_SIZE(_eglValidationTable); i++) {
-      EGLint mask;
+      EGLint mask = 0;
 
       attr = _eglValidationTable[i].attr;
       val = GET_CONFIG_ATTRIB(conf, attr);
diff --git a/third_party/mesa/README.chromium b/third_party/mesa/README.chromium
index a405e3c9f3248..4f51b8708b930 100644
--- a/third_party/mesa/README.chromium
+++ b/third_party/mesa/README.chromium
@@ -73,3 +73,5 @@ Later modifications (see chromium.patch):
 
 - Guarded all usage of EGL_Y_INVERTED_NOK with EGL_NOK_texture_from_pixmap
   so that it can be compiled against standard EGL 1.4 headers.
+  
+- Initialized uninitialized mask variable in eglconfig.c line 245.
-- 
GitLab