RESOLVED DUPLICATE of bug 34659 33032
Incorrect usage of dlopen with paths in Chromium WebGL
https://bugs.webkit.org/show_bug.cgi?id=33032
Summary Incorrect usage of dlopen with paths in Chromium WebGL
Evan Martin
Reported 2009-12-29 15:56:38 PST
In WebKit/chromium/src/GraphicsContext3D.cpp const char* libNames[] = { "/usr/lib/libGL.so.1", "/usr/lib32/libGL.so.1", "/usr/lib64/libGL.so.1", }; for (int i = 0; i < sizeof(libNames) / sizeof(const char*); i++) { libGL = tryLoad(libNames[i]); if (libGL) break; } This is incorrect. It should be just libGL = dlopen("libGL.so.1"); if (!libGL) outputToUser(dlerror())
Attachments
Kenneth Russell
Comment 1 2010-02-05 13:48:58 PST
*** This bug has been marked as a duplicate of bug 34659 ***
Note You need to log in before you can comment on or make changes to this bug.