Changeset 268915 in webkit
- Timestamp:
- Oct 23, 2020, 1:26:04 AM (6 years ago)
- Location:
- releases/WebKitGTK/webkit-2.30/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/glx/GLContextGLX.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.30/Source/WebCore/ChangeLog
r268913 r268915 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-15 Chris Lord <clord@igalia.com> 2 15 -
releases/WebKitGTK/webkit-2.30/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp
r254064 r268915 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.