]> source.dussan.org Git - tigervnc.git/commit
Throw exception instead on bad access check
authorPierre Ossman <ossman@cendio.se>
Tue, 28 Feb 2023 15:00:15 +0000 (16:00 +0100)
committerPierre Ossman <ossman@cendio.se>
Tue, 28 Feb 2023 15:00:15 +0000 (16:00 +0100)
commit6b7a69e80759cc05a7a399aa5967437f3e0c6bd1
treef2087a7eafb5b867eb34ebf53cedb202daaa87e9
parent75e6e8e35c70f186f785c326cb3060bff214d627
Throw exception instead on bad access check

An assert will kill the entire server, which is overly harsh when there
is a problem with a single connection. Instead, throw an exception which
will just disconnect that specific client.
common/rfb/SConnection.cxx