diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-09-29 13:26:19 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-29 20:32:36 +0000 |
commit | d47756ab1fce2aedd7658e49fa893c2e2b63286e (patch) | |
tree | 2518e6a77c2bb73f52154a6832ab5ea906a7a101 /sax/Module_sax.mk | |
parent | a4acb1cc5da1708b4bfe55723313b09cc4d8157d (diff) |
tdf#83306: sal: fix compare of rtl::OUString/OString containing '\0'
For whatever reason oox shape import code uses OUStrings that contain
'\0' characters.
The rtl_uString / rtl_String are allowed to contain '\0' but the
strncmp/wcsncmp functions stop comparing on the first '\0', so use
memcmp/wmemcmp instead.
(regression from 281989007fd7dea997ed9a65f513f80b1aff67dd)
Change-Id: If148927f19d065a21f32f3c14433b0bda7ae9301
Reviewed-on: https://gerrit.libreoffice.org/29384
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
(cherry picked from commit de7ed418e7813c85f192b558ff06e976eccaa54d)
Reviewed-on: https://gerrit.libreoffice.org/29387
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sax/Module_sax.mk')
0 files changed, 0 insertions, 0 deletions