summaryrefslogtreecommitdiff
path: root/tools/workben
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-01-24 15:41:38 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-01-24 15:41:38 +0000
commit8742f444b23a4615a6786f2c0507e5b66062b99b (patch)
treeca50c9d5c02a287cdd1d1a1ad4d84b8ef4372281 /tools/workben
parentb801da1b2a0542bca5f9a701284e33f05319e6ff (diff)
INTEGRATION: CWS sb42 (1.31.28); FILE MERGED
2005/11/28 15:38:18 sb 1.31.28.1: #127202# getAbbreviated could read past the end of the given URL.
Diffstat (limited to 'tools/workben')
-rw-r--r--tools/workben/urltest.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/workben/urltest.cxx b/tools/workben/urltest.cxx
index 69fd22986916..0fbb5a4495f7 100644
--- a/tools/workben/urltest.cxx
+++ b/tools/workben/urltest.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: urltest.cxx,v $
*
- * $Revision: 1.31 $
+ * $Revision: 1.32 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 14:54:23 $
+ * last change: $Author: hr $ $Date: 2006-01-24 16:41:38 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -907,6 +907,9 @@ main()
"file://some.host/abcdef/de"))));
abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
"file://some.host/abcdef/def"))));
+ abbreviate(INetURLObject(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
+ "http://foo/aa/bb//cc/d/eee////ff/ggggggg/hhhhhh/iii/j/"
+ "kkkkkkkkkkkkk/ll/mm/nn/oo/p"))));
}
if (true)