external/breakpad/ubsan.patch |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit de0581c77228eb00ff84a3996bfd252d6928a056
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Thu Oct 21 17:43:56 2021 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Fri Oct 22 12:03:18 2021 +0200

    Make external/breakpad/ubsan.patch apply again
    
    (It apparently silently broke with something like
    ff673ce838a5538b1432daf9007c047f6455a5ba "update breakpad to the current
    chrome_m90 snapshot" and nobody doing ASan/UBSan builds with 
--enable-breakpad
    in the meantime.)
    
    Change-Id: Ic955e1725d2493d849b460a09dfa0238815e2c8d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124033
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/external/breakpad/ubsan.patch b/external/breakpad/ubsan.patch
index f4204516eed4..29790b4c02d1 100644
--- a/external/breakpad/ubsan.patch
+++ b/external/breakpad/ubsan.patch
@@ -9,13 +9,13 @@
  };
  
  }  // namespace google_breakpad
---- src/common/memory.h
-+++ src/common/memory.h
+--- src/common/memory_allocator.h
++++ src/common/memory_allocator.h
 @@ -75,6 +75,7 @@
      if (!bytes)
        return NULL;
  
 +    bytes = (bytes + (__BIGGEST_ALIGNMENT__ - 1)) & ~(__BIGGEST_ALIGNMENT__ - 
1);
      if (current_page_ && page_size_ - page_offset_ >= bytes) {
-       uint8_t *const ret = current_page_ + page_offset_;
+       uint8_t* const ret = current_page_ + page_offset_;
        page_offset_ += bytes;

Reply via email to