[Libreoffice-commits] core.git: vcl/workben

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sun Dec 13 20:10:23 UTC 2020


 vcl/workben/commonfuzzer.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 22f4dd588c6861da9156a8c27f0bb76f42d5a784
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Dec 13 19:12:25 2020 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Dec 13 21:09:38 2020 +0100

    ofz#28630 Fuzzing build failure
    
    Change-Id: I9ec5ce0755cc8a7fd7dfd4c835907179951719c1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107662
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/workben/commonfuzzer.hxx b/vcl/workben/commonfuzzer.hxx
index 85808c346f78..57843998d97a 100644
--- a/vcl/workben/commonfuzzer.hxx
+++ b/vcl/workben/commonfuzzer.hxx
@@ -67,7 +67,7 @@ namespace
             osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir);
 
             OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>");
-            aBuffer.append(OUStringToOString(sExecDir + getExecutableName() + ".fonts", osl_getThreadTextEncoding()));
+            aBuffer.append(OUStringToOString(sExecDir + getExecutableName(), osl_getThreadTextEncoding())).append(".fonts");
             aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>");
             OString aConf = aBuffer.makeStringAndClear();
             sal_uInt64 aBytesWritten;


More information about the Libreoffice-commits mailing list