vcl/source/app/svcache.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 18bac4934e815d69dec337403a8b4e3250030da8
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Wed Jul 30 17:13:01 2025 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Wed Jul 30 21:12:04 2025 +0200

    use std::pmr::get_default_resource for fuzzing
    
    seems that the custom one is a problem there, maybe the default one
    will pass.
    
    Change-Id: I89377cb241664fe5d637c236714568b86c2ff4e3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188608
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git a/vcl/source/app/svcache.cxx b/vcl/source/app/svcache.cxx
index 6f8c2356b95c..32c972c1e2ea 100644
--- a/vcl/source/app/svcache.cxx
+++ b/vcl/source/app/svcache.cxx
@@ -167,7 +167,11 @@ CacheMemory& CacheMemory::GetMemoryResource()
 //static
 std::pmr::memory_resource& CacheOwner::GetMemoryResource()
 {
+#if defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION)
+    return *std::pmr::get_default_resource();
+#else
     return CacheMemory::GetMemoryResource();
+#endif
 }
 #endif
 

Reply via email to