Kaydet (Commit) 2b8f4cf1 authored tarafından Caolán McNamara's avatar Caolán McNamara

wmffuzzer fix url

Change-Id: I3861a04a02a17113d25c0fd065f8870b0ef020ca
üst 8c7315b9
......@@ -31,7 +31,7 @@ namespace
{
void setFontConfigConf()
{
osl::File aFontConfig("file::///tmp/wmffuzzerfonts.conf");
osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf");
if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None)
{
OUString uri;
......@@ -52,6 +52,7 @@ namespace
rtl::OString aConf = aBuffer.makeStringAndClear();
sal_uInt64 aBytesWritten;
aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten);
assert(aBytesWritten == aConf.getLength());
}
setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment