aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJan Grulich <jgrulich@redhat.com>2021-05-25 14:18:48 +0200
committerPierre Ossman <ossman@cendio.se>2021-06-07 15:44:40 +0200
commitba837fd283adbf462137be97ed6a1970a6c37b67 (patch)
treecaa556ea002ed546640695770e37082767c75348 /.github
parente1247d9e2a5b52b9b056ca814587c3cbea2c81f0 (diff)
downloadtigervnc-ba837fd283adbf462137be97ed6a1970a6c37b67.tar.gz
tigervnc-ba837fd283adbf462137be97ed6a1970a6c37b67.zip
CharArray: pre-fill empty array with zeroes
CharArray should always be null-terminated. There is a potential scenario where this all might lead to crash. In Password we call memset(), passing length of the array we get with strlen(), but this won't return correct value when the array is not properly null-terminated.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions