Public bug reported: A new fix has been merged into the libglvnd repo at https://gitlab.freedesktop.org/glvnd/libglvnd
This change fixes an issue where if eglReleaseThread gets externally called after the EGL destructor, a double free occurs due to the threadState that eglReleaseThread checks is not null being not null despite being freed by the destuctor. The change makes the threadState null in the destructor to fix this. Can this make it into the libs in 20.04 LTS? Source package where the issue is encountered: https://launchpad.net/ubuntu/+source/libglvnd/1.3.2-1~ubuntu0.20.04.2 ** Affects: libglvnd (Ubuntu) Importance: Undecided Status: New ** Description changed: A new fix has been merged into the libglvnd repo at https://gitlab.freedesktop.org/glvnd/libglvnd - This change fixes an issue where if eglReleaseThread gets externally - called after the EGL destructor, a double free occurs due to some - values that eglReleaseThread checks not getting set to null in the - destructor. + This change fixes an issue where if eglReleaseThread gets externally called after the EGL destructor, a double free occurs due to the threadState that eglReleaseThread checks is not null being not null despite being freed by the destuctor. + The change makes the threadState null in the destructor to fix this. Can this make it into the libs in 20.04 LTS? Source package where the issue is encountered: https://launchpad.net/ubuntu/+source/libglvnd/1.3.2-1~ubuntu0.20.04.2 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libglvnd in Ubuntu. https://bugs.launchpad.net/bugs/1966334 Title: GLVND: Set current thread state to NULL in teardown Status in libglvnd package in Ubuntu: New Bug description: A new fix has been merged into the libglvnd repo at https://gitlab.freedesktop.org/glvnd/libglvnd This change fixes an issue where if eglReleaseThread gets externally called after the EGL destructor, a double free occurs due to the threadState that eglReleaseThread checks is not null being not null despite being freed by the destuctor. The change makes the threadState null in the destructor to fix this. Can this make it into the libs in 20.04 LTS? Source package where the issue is encountered: https://launchpad.net/ubuntu/+source/libglvnd/1.3.2-1~ubuntu0.20.04.2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libglvnd/+bug/1966334/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

