]> 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, 20 Dec 2019 06:29:00 +0000 (07:29 +0100)
commit2473c72ddc5723bcbbcb172bb5a64cddcdf68935
tree9f4b505a680b43269134f2b799451147d2d6f05f
parentff08ca78b24b5a4ed5263245c7ce8744059ff4ad
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.

(cherry picked from commit 9f615301aba1cc54a749950bf9462c5a85217bc4)
common/rfb/EncodeManager.cxx
common/rfb/EncodeManager.h