diff options
author | Michi Henning <michi@zeroc.com> | 2005-02-21 01:13:56 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2005-02-21 01:13:56 +0000 |
commit | 7076bbd87e954834a2f8a44c39d16b30ff04ab1c (patch) | |
tree | ceb11cc53a522e8d0d2200b154eb2a9f2069fd58 /cpp/src/IcePatch2/ClientUtil.cpp | |
parent | adding Ice version numbers (diff) | |
download | ice-7076bbd87e954834a2f8a44c39d16b30ff04ab1c.tar.bz2 ice-7076bbd87e954834a2f8a44c39d16b30ff04ab1c.tar.xz ice-7076bbd87e954834a2f8a44c39d16b30ff04ab1c.zip |
Added check to server to disallow absolute paths and paths containing "..".
Diffstat (limited to 'cpp/src/IcePatch2/ClientUtil.cpp')
-rwxr-xr-x | cpp/src/IcePatch2/ClientUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IcePatch2/ClientUtil.cpp b/cpp/src/IcePatch2/ClientUtil.cpp index aab5dc7aa34..9916404b2bd 100755 --- a/cpp/src/IcePatch2/ClientUtil.cpp +++ b/cpp/src/IcePatch2/ClientUtil.cpp @@ -760,7 +760,7 @@ IcePatch2::Patcher::updateFilesInternal(const FileInfoSeq& files, const Decompre } catch(const FileAccessException& ex) { - throw "server error for `" + p->path + "':" + ex.reason; + throw "server error for `" + p->path + "': " + ex.reason; } if(bytes.empty()) |