]> source.dussan.org Git - tigervnc.git/commit
Make sure length is reset on assignment
authorPierre Ossman <ossman@cendio.se>
Sat, 4 Feb 2023 12:07:04 +0000 (13:07 +0100)
committerPierre Ossman <ossman@cendio.se>
Sat, 4 Feb 2023 13:03:13 +0000 (14:03 +0100)
commitcee09051e685e952b948cafab2d4ccdb9ab11f07
tree55207f3bb62dd43f1e200cd656f61a3b8139ee90
parentcf931f8c9a677161bde70859799f1ad4f3470fbc
Make sure length is reset on assignment

Otherwise the old length is preserved, which will result in NULL pointer
dereferencing if the parameter is ever accessed.
common/rfb/Configuration.cxx