]> source.dussan.org Git - tigervnc.git/commit
Encapsulate PixelBuffer internal details
authorPierre Ossman <ossman@cendio.se>
Tue, 10 Sep 2019 13:18:30 +0000 (15:18 +0200)
committerPierre Ossman <ossman@cendio.se>
Fri, 15 Nov 2019 09:53:26 +0000 (10:53 +0100)
commit53f913a76196c7357d4858bfbf2c33caa9181bae
treefed2268563ae4b752af780ce8f99f63a3b2af6ae
parentd61a767d6842b530ffb532ddd5a3d233119aad40
Encapsulate PixelBuffer internal details

Don't allow subclasses to just override dimensions or buffer details
directly and instead force them to go via methods. This allows us
to do sanity checks on the new values and catch bugs and attacks.
common/rfb/Cursor.cxx
common/rfb/EncodeManager.cxx
common/rfb/PixelBuffer.cxx
common/rfb/PixelBuffer.h
unix/x0vncserver/XPixelBuffer.cxx
unix/xserver/hw/vnc/XserverDesktop.cc
unix/xserver/hw/vnc/XserverDesktop.h
vncviewer/PlatformPixelBuffer.cxx
win/rfb_win32/DIBSectionBuffer.cxx