Changeset 268000 in webkit
- Timestamp:
- Oct 5, 2020, 1:55:54 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/glx/GLContextGLX.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r267999 r268000 1 2020-10-05 Enrique Ocaña González <eocanha@igalia.com> 2 3 [GTK][X11] WebProcess crash in WebCore::GLContextGLX::createPbufferContext() with NVidia proprietary drivers 4 https://bugs.webkit.org/show_bug.cgi?id=217323 5 6 Reviewed by Adrian Perez de Castro. 7 8 The returnedElements variable might remain uninitialized if the glXChooseFBConfig() 9 function call fails, leading to execution of the wrong code branch later. 10 11 * platform/graphics/glx/GLContextGLX.cpp: 12 (WebCore::GLContextGLX::createPbufferContext): Initialized the returnedElements variable. 13 1 14 2020-10-05 Carlos Garcia Campos <cgarcia@igalia.com> 2 15 -
trunk/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp
r254064 r268000 222 222 }; 223 223 224 int returnedElements ;224 int returnedElements = 0; 225 225 Display* display = downcast<PlatformDisplayX11>(platformDisplay).native(); 226 226 XUniquePtr<GLXFBConfig> configs(glXChooseFBConfig(display, 0, fbConfigAttributes, &returnedElements));
Note:
See TracChangeset
for help on using the changeset viewer.