diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/workben/svmfuzzer.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/workben/svmfuzzer.cxx b/vcl/workben/svmfuzzer.cxx index 5ef7366c1889..890946eecd41 100644 --- a/vcl/workben/svmfuzzer.cxx +++ b/vcl/workben/svmfuzzer.cxx @@ -9,6 +9,7 @@ #include <tools/stream.hxx> #include <vcl/gdimtf.hxx> +#include <vcl/filter/SvmReader.hxx> #include "commonfuzzer.hxx" #include <config_features.h> @@ -49,7 +50,8 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { SvMemoryStream aStream(const_cast<uint8_t*>(data), size, StreamMode::READ); GDIMetaFile aGDIMetaFile; - ReadGDIMetaFile(aStream, aGDIMetaFile); + SvmReader aReader(aStream); + aReader.Read(aGDIMetaFile); return 0; } |