]> source.dussan.org Git - tigervnc.git/commit
Add write protection to OffsetPixelBuffer
authorPierre Ossman <ossman@cendio.se>
Tue, 10 Sep 2019 13:25:30 +0000 (15:25 +0200)
committerPierre Ossman <ossman@cendio.se>
Fri, 15 Nov 2019 10:20:26 +0000 (11:20 +0100)
commit9f615301aba1cc54a749950bf9462c5a85217bc4
tree1d5db41665fbe20dae80c22276633c5efae7c8a2
parent996356b6c65ca165ee1ea46a571c32a1dc3c3821
Add write protection to OffsetPixelBuffer

No one should every try to write to this buffer. Enforce that by
throwing an exception if any one tries to get a writeable pointer
to the data.
common/rfb/EncodeManager.cxx
common/rfb/EncodeManager.h