hwpfilter/source/hcode.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit fb953ed10ca5a9f574d6ebf0598fb438bd3f4509 Author: Caolán McNamara <caol...@redhat.com> Date: Tue Feb 20 16:33:38 2018 +0000
forcepoint #2 Thanks to Antti Levomäki and Christian Jalio from Forcepoint. Change-Id: Ie2b644a3c4c1c165334768eea73d451f07f97def Reviewed-on: https://gerrit.libreoffice.org/50082 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Miklos Vajna <vmik...@collabora.co.uk> diff --git a/hwpfilter/source/hcode.cxx b/hwpfilter/source/hcode.cxx index 41fb6d34cb81..d2eaf57bd28f 100644 --- a/hwpfilter/source/hcode.cxx +++ b/hwpfilter/source/hcode.cxx @@ -1217,6 +1217,8 @@ hchar_string hstr2ucsstr(hchar const* hstr) hchar_string kstr2hstr(unsigned char const* src) { hchar_string ret; + if (!src) + return ret; for (unsigned int i = 0; src[i] != '\0' ; i++) { if ( src[i] < 127 ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits