diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-12-29 21:00:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-29 21:01:08 +0000 |
commit | 0d60ef79bb06fbabbc4ebbff0d583470f2f582c7 (patch) | |
tree | 07cb249724b7f6fd271fa71b1e913bcd649cb191 /vcl/workben/wmffuzzer.cxx | |
parent | Add ExternalDataMapper class and Implement CSVDataProvider::Refresh() (diff) | |
download | core-0d60ef79bb06fbabbc4ebbff0d583470f2f582c7.tar.gz core-0d60ef79bb06fbabbc4ebbff0d583470f2f582c7.zip |
Related: ofz#224 wrong way around
Change-Id: I59b1975ed6bdf2b2c51b582db620208e622af654
Diffstat (limited to 'vcl/workben/wmffuzzer.cxx')
-rw-r--r-- | vcl/workben/wmffuzzer.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/workben/wmffuzzer.cxx b/vcl/workben/wmffuzzer.cxx index 97c90e13d7fa..192573ad4b03 100644 --- a/vcl/workben/wmffuzzer.cxx +++ b/vcl/workben/wmffuzzer.cxx @@ -60,14 +60,14 @@ namespace extern "C" { - __attribute__((weak)) void __lsan_enable(); __attribute__((weak)) void __lsan_disable(); + __attribute__((weak)) void __lsan_enable(); } extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) { - if (__lsan_enable) - __lsan_enable(); + if (__lsan_disable) + __lsan_disable(); setenv("SAL_USE_VCLPLUGIN", "svp", 1); @@ -85,8 +85,8 @@ extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) utl::ConfigManager::EnableAvoidConfig(); InitVCL(); - if (__lsan_disable) - __lsan_disable(); + if (__lsan_enable) + __lsan_enable(); return 0; } |