]> source.dussan.org Git - tigervnc.git/commit
Make direct stream API a bit safer
authorPierre Ossman <ossman@cendio.se>
Wed, 20 May 2020 13:50:11 +0000 (15:50 +0200)
committerPierre Ossman <ossman@cendio.se>
Thu, 21 May 2020 09:40:57 +0000 (11:40 +0200)
commitb00d2fe17e686527ff66856a747438dbfc73c967
tree9bb955301fc641f6355bc24b6943d50764f57fbf
parentd6bd230991495ad3bf97c2be764fbc034df51d9a
Make direct stream API a bit safer

Provide some safety checks when directly accessing the underlying
pointer of streams.
common/rdr/HexInStream.cxx
common/rdr/HexOutStream.cxx
common/rdr/InStream.h
common/rdr/OutStream.h
common/rdr/ZlibInStream.cxx
common/rdr/ZlibOutStream.cxx
common/rfb/JpegCompressor.cxx