The number of characters to be copied must be one less than the buffer size to accoun...
commitc97259f651e6e54955ccc41af44a9f3bef31e497
authorSven Strickroth <email@cs-ware.de>
Fri, 15 May 2015 05:12:07 +0000 (15 07:12 +0200)
committerSven Strickroth <email@cs-ware.de>
Fri, 15 May 2015 18:49:52 +0000 (15 20:49 +0200)
tree5e02abb1c0d18590d5bb13d1643e32d133d08db5
parent7c0f507baa17000f07fb0247809a20485219b49f
The number of characters to be copied must be one less than the buffer size to account for the terminating zero

Inspired by TortoiseSVN revisions 26509, 26510 and 26513.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
19 files changed:
src/Git/GitStatusListCtrl.cpp
src/TGitCache/CacheInterface.cpp
src/TGitCache/CacheInterface.h
src/TortoiseMerge/BaseView.cpp
src/TortoiseMerge/FilePatchesDlg.cpp
src/TortoiseProc/FileDiffDlg.cpp
src/TortoiseProc/GitLogListBase.cpp
src/TortoiseProc/GitProgressList.cpp
src/TortoiseProc/RevisionGraph/RevisionGraphDlgDraw.cpp
src/TortoiseProc/refloglist.cpp
src/TortoiseShell/ContextMenu.cpp
src/TortoiseShell/RemoteCacheLink.cpp
src/TortoiseShell/ShellCache.h
src/Utils/MiscUI/MyGraph.cpp
src/Utils/PathUtils.cpp
src/Utils/PathWatcher.cpp
src/Utils/ShellUpdater.cpp
src/Utils/TreePropSheet/TreePropSheet.cpp
src/Utils/UnicodeUtils.cpp