https://bugs.kde.org/show_bug.cgi?id=489764

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/a6743fd2f5
                   |                            |9a60460d48107ff321ddad969d7
                   |                            |bae
             Status|ASSIGNED                    |RESOLVED

--- Comment #13 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit a6743fd2f59a60460d48107ff321ddad969d7bae by Vlad Zahorodnii.
Committed on 11/07/2024 at 09:49.
Pushed by vladz into branch 'master'.

plugins/screencast: Allocate offscreen texture in
WindowScreenCastSource::render(QImage) as big as the memfd buffer

textureSize() can temporarily mismatch the target buffer size. It can be
a problem if glGetTexImage() gets called. glGetTexImage() assumes that
the provided buffer is as big as the texture. If it's not, it will write
data outside the bounds of the buffer.

M  +1    -1    src/plugins/screencast/windowscreencastsource.cpp

https://invent.kde.org/plasma/kwin/-/commit/a6743fd2f59a60460d48107ff321ddad969d7bae

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to