]> source.dussan.org Git - tigervnc.git/commit
Make strSplit() simpler and safer
authorPierre Ossman <ossman@cendio.se>
Wed, 11 Jan 2023 16:21:56 +0000 (17:21 +0100)
committerPierre Ossman <ossman@cendio.se>
Sat, 4 Feb 2023 13:03:13 +0000 (14:03 +0100)
commit19badc4def7d2bee677da3a02e1117f1e051a8cd
tree2dc20f1bcbda813d2616b32856994f558a4c1eab
parent337dbc392253af92b0577da062a5abc1d032b1ef
Make strSplit() simpler and safer

Get rid of all the magical re-allocation and shuffling and instead just
return a new set of strings that is fully splitted. Will consume a bit
more memory, but is a lot safer to use as there is less confusion about
ownership of memory.
common/network/TcpSocket.cxx
common/rfb/LogWriter.cxx
common/rfb/SSecurityPlain.cxx
common/rfb/Security.cxx
common/rfb/util.cxx
common/rfb/util.h
win/rfb_win32/LaunchProcess.cxx
win/rfb_win32/Win32Util.cxx
win/rfb_win32/Win32Util.h
win/vncconfig/Connections.h
win/vncconfig/Legacy.cxx