external/firebird/ubsan.patch |   11 +++++++++++
 1 file changed, 11 insertions(+)

New commits:
commit 345f8cc9de49f573b60f9dc63e7df17ce3c2f93c
Author:     Stephan Bergmann <stephan.bergm...@allotropia.de>
AuthorDate: Tue Jan 9 15:39:23 2024 +0100
Commit:     Stephan Bergmann <stephan.bergm...@allotropia.de>
CommitDate: Tue Jan 9 19:10:33 2024 +0100

    New UBSan failure with Firebird 3.0.11
    
    While building ExternalProject_firebird:
    
    > workdir/UnpackedTarball/firebird/temp/Debug/jrd/scl.cpp:1171:38: runtime 
error: member access within null pointer of type 'const SecurityClass'
    
    Change-Id: I7f20495879da9b64a18ba8bd8673c42da8b483af
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161833
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de>

diff --git a/external/firebird/ubsan.patch b/external/firebird/ubsan.patch
index 7c6af106829b..78c45ed6b1bd 100644
--- a/external/firebird/ubsan.patch
+++ b/external/firebird/ubsan.patch
@@ -250,6 +250,17 @@
  }
  
  
+--- src/jrd/scl.epp
++++ src/jrd/scl.epp
+@@ -218,8 +218,6 @@
+       if ((tdbb->tdbb_flags & TDBB_trusted_ddl) && (mask != SCL_references))
+               return true;
+ 
+-      const MetaName& userName = s_class->sclClassUser.second;
+-
+       if (s_class && (s_class->scl_flags & SCL_corrupt))
+       {
+               Arg::StatusVector status;
 --- src/lock/lock.cpp
 +++ src/lock/lock.cpp
 @@ -441,7 +441,7 @@

Reply via email to