basic/source/runtime/dllmgr-x64.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 49d304c4f6635381a27b60a8944744cc81ff1e91 Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Fri Oct 19 14:54:28 2018 +0200 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Fri Oct 19 20:31:22 2018 +0200 tdf#120706: nullptr dereference Change-Id: I55814a6b4cdfda93a51621b5b31c166507a7e7a6 Reviewed-on: https://gerrit.libreoffice.org/62005 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/basic/source/runtime/dllmgr-x64.cxx b/basic/source/runtime/dllmgr-x64.cxx index b69c95cf2f88..4c5973fdc919 100644 --- a/basic/source/runtime/dllmgr-x64.cxx +++ b/basic/source/runtime/dllmgr-x64.cxx @@ -476,7 +476,7 @@ ErrCode call( OUString const & dll, ProcData const & proc, SbxArray * arguments, SbxVariable & result) { - if (arguments->Count() > 20) + if (arguments && arguments->Count() > 20) return ERRCODE_BASIC_NOT_IMPLEMENTED; std::vector< char > stack; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits