]> source.dussan.org Git - tigervnc.git/commit
Fix stream check for InStream::getptr() 1522/head
authorPierre Ossman <ossman@cendio.se>
Wed, 24 Aug 2022 14:10:36 +0000 (16:10 +0200)
committerPierre Ossman <ossman@cendio.se>
Thu, 25 Aug 2022 10:52:05 +0000 (12:52 +0200)
commit7b1be722afac02794708e434b8436082c9ce5a99
tree4760ff76a14afc72bb91480a71421b281c496cec
parentf2bbb6b303d1fe96495f5862f22efb6a4cdd22b6
Fix stream check for InStream::getptr()

This call should have been preceeded by hasData() or avail(), just like
all other accessor functions.
common/rdr/InStream.h