diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-11-04 17:07:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-11-04 22:04:06 +0100 |
commit | 92af2b5e36a403ff8f81d81d047b2d1dc340cef9 (patch) | |
tree | f7aedb4c82a91c79a6e2217b5a8b0e4c0e0bd7f5 /ucb/source/ucp/webdav-neon | |
parent | 5340c53443fc2b2056146799a1156748433be078 (diff) |
crashtesting: kde124742-1.html cannot trust header to be valid ascii
Change-Id: Ia073dcbf0a0a4d2f3df1f58d0e140f68e830182b
Reviewed-on: https://gerrit.libreoffice.org/62856
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'ucb/source/ucp/webdav-neon')
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonSession.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx index 57ffe1002026..c10796a48e79 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.cxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx @@ -2021,7 +2021,7 @@ namespace { void runResponseHeaderHandler( void * userdata, const char * value ) { - OUString aHeader( OUString::createFromAscii( value ) ); + OUString aHeader(value, strlen(value), RTL_TEXTENCODING_ASCII_US); sal_Int32 nPos = aHeader.indexOf( ':' ); if ( nPos != -1 ) |