diff --git a/modules/desktop_capture/linux/wayland/egl_dmabuf.cc b/modules/desktop_capture/linux/wayland/egl_dmabuf.cc index ac710be65c..a4de19d1ad 100644 --- a/modules/desktop_capture/linux/wayland/egl_dmabuf.cc +++ b/modules/desktop_capture/linux/wayland/egl_dmabuf.cc @@ -418,6 +418,7 @@ EglDmaBuf::EglDmaBuf() { egl_initialized_ = true; } +RTC_NO_SANITIZE("cfi-icall") EglDmaBuf::~EglDmaBuf() { if (gbm_device_) { gbm_device_destroy(gbm_device_); diff --git a/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc b/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc index 43ad756bbd..8fae69ed9c 100644 --- a/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc +++ b/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc @@ -26,6 +26,7 @@ #include "modules/desktop_capture/linux/wayland/egl_dmabuf.h" #include "rtc_base/checks.h" #include "rtc_base/logging.h" +#include "rtc_base/sanitizer.h" #include "rtc_base/string_encode.h" #include "rtc_base/string_to_number.h" #include "rtc_base/synchronization/mutex.h" @@ -422,6 +423,7 @@ SharedScreenCastStreamPrivate::~SharedScreenCastStreamPrivate() { } } +RTC_NO_SANITIZE("cfi-icall") bool SharedScreenCastStreamPrivate::StartScreenCastStream( uint32_t stream_node_id, int fd) {