summaryrefslogtreecommitdiff
path: root/zen/symlink_target.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2016-07-25 20:46:59 +0200
committerDaniel Wilhelm <daniel@wili.li>2016-07-25 20:46:59 +0200
commit37dab163d3ee934a56f7d4ef2423c973f20cd27a (patch)
tree050c0b1c35de989fa397faa34f7ed2a1df543e51 /zen/symlink_target.h
parent8.2 (diff)
downloadFreeFileSync-37dab163d3ee934a56f7d4ef2423c973f20cd27a.tar.gz
FreeFileSync-37dab163d3ee934a56f7d4ef2423c973f20cd27a.tar.bz2
FreeFileSync-37dab163d3ee934a56f7d4ef2423c973f20cd27a.zip
8.3
Diffstat (limited to 'zen/symlink_target.h')
-rw-r--r--zen/symlink_target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/symlink_target.h b/zen/symlink_target.h
index a1f48884..17168a03 100644
--- a/zen/symlink_target.h
+++ b/zen/symlink_target.h
@@ -187,7 +187,7 @@ Zstring getResolvedSymlinkPath_impl(const Zstring& linkPath) //throw FileError
if (charsWritten == 0)
THROW_LAST_FILE_ERROR(replaceCpy(_("Cannot determine final path for %x."), L"%x", fmtPath(linkPath)), L"GetFinalPathNameByHandle");
if (charsWritten >= bufferSize)
- throw FileError(replaceCpy(_("Cannot determine final path for %x."), L"%x", fmtPath(linkPath)), L"GetFinalPathNameByHandle: buffer overflow.");
+ throw FileError(replaceCpy(_("Cannot determine final path for %x."), L"%x", fmtPath(linkPath)), L"GetFinalPathNameByHandle: insufficient buffer size.");
return removeLongPathPrefix(Zstring(&targetPath[0], charsWritten)); //MSDN: GetFinalPathNameByHandle() always prepends "\\?\"
bgstack15