]> source.dussan.org Git - tigervnc.git/commit
Fix length checks in string conversion functions
authorPierre Ossman <ossman@cendio.se>
Mon, 9 Sep 2019 14:47:36 +0000 (16:47 +0200)
committerPierre Ossman <ossman@cendio.se>
Wed, 25 Sep 2019 13:54:34 +0000 (15:54 +0200)
commit02f87f37dd8a71643feb01b0fd369ce640945f20
tree7cc7640d43a6966de3659090b5ce8e2491c6383c
parent07993b26c96d7ab0c20bfacd5352a0f131c23029
Fix length checks in string conversion functions

We need to check the buffer length before accessing the incoming
string. Probably not a problem in practice as there should be a
final null in most incoming strings.

Issue found by Pavel Cheremushkin from Kaspersky Lab.
common/rfb/util.cxx