diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-10-26 23:01:48 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-10-27 07:38:56 +0200 |
commit | 11ecb45eb922037082feda3fabd8d0eed3e3ffb0 (patch) | |
tree | 1408a8341ff44de27076f23e9073e713ab6f2574 /sd/inc | |
parent | 092f61bd3b1fbffd40988aa7f55f447d3d877cbe (diff) |
external/breakpad: Silence some UBSan warnings
...which I happened to run into when the breakpad code kicked in due to some
crash happening,
> src/client/linux/minidump_writer/minidump_writer.cc:721:12: runtime error: null pointer passed as argument 2, which is declared to never be null
/usr/include/string.h:44:28: note: nonnull attribute specified here
> src/client/linux/minidump_writer/minidump_writer.cc:763:14: runtime error: applying non-zero offset to non-null pointer 0x000000200000 produced null pointer
> src/client/linux/minidump_writer/minidump_writer.cc:772:64: runtime error: applying non-zero offset 3200848 to null pointer
(Unlike the changes in the existing external/breakpad/ubsan.patch, which is only
applied when doing sanitizer builds, these changes should be non-controversial
and OK to apply always, so they go into a different patch file.)
Change-Id: Ib1b3f87ba22f96d5fb93b8fcb9951ddc3c353697
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124245
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sd/inc')
0 files changed, 0 insertions, 0 deletions