]> source.dussan.org Git - tigervnc.git/commit
Add safety check to getNextTimeout()
authorPierre Ossman <ossman@cendio.se>
Tue, 3 Jan 2023 08:27:46 +0000 (09:27 +0100)
committerPierre Ossman <ossman@cendio.se>
Wed, 19 Jun 2024 14:39:07 +0000 (16:39 +0200)
commit265c50f5af024d20191eb9d37ee21112593e3aa1
tree1ed0dd7b369dd266a44311dfcbc8daf5977bb8a0
parentbf286837db638a67bde0ab9be0baa621f863b8d5
Add safety check to getNextTimeout()

It currently won't ever be called with an empty list of timers, but it
is a public function so that might happen in the future. Make sure this
case is handled without crashes.
common/rfb/Timer.cxx