mysql-server/mysql-test/lsan.supp
2025-03-05 14:31:37 +07:00

76 lines
2.5 KiB
Text

# Copyright (c) 2018, 2024, Oracle and/or its affiliates.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 2.0,
# as published by the Free Software Foundation.
#
# This program is designed to work with certain software (including
# but not limited to OpenSSL) that is licensed under separate terms,
# as designated in a particular file or component or in included license
# documentation. The authors of MySQL hereby grant you an additional
# permission to link the program and your derivative works with the
# separately licensed software that they have either included with
# the program or referenced in the documentation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License, version 2.0, for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# LSAN suppressions for gcc/clang
leak:Perl_safesyscalloc
leak:Perl_safesysmalloc
leak:Perl_safesysrealloc
leak:Perl_savesharedpv
leak:Perl_Slab_Alloc
leak:Perl_newUNOP_AUX
leak:Perl_newSTATEOP
leak:Perl_pmruntime
leak:/usr/bin/perl
leak:/usr/bin/sort
leak:/usr/bin/tail
leak:/lib64/libperl.so.*
leak:/bin/bash
leak:/usr/bin/zip
# OpenLDAP bug 9081
# Fixed in 2.4.49, we build with 2.4.48
leak:ldap_initialize
# sasl_client_init will load all available plugins with _sasl_load_plugins().
# It seems some of the SASL plugin have leaks.
# Both LSAN and Valgrind report leaks.
leak:sasl_client_add_plugin
# The GSS API plugin for SASL has leaks.
leak:gss_acquire_cred_from
# Memory leak due to JDK's assumption on object lifetime
leak:java.lang.ProcessImpl*init
# ndb_sign_keys leaks in some error-exit situations
leak:ndb_sign_keys
# Internal leak in libprotobuf-lite
# google::protobuf::internal::InitSCCImpl()
leak:libprotobuf-lite.so
# Bug#36170703 ndb api tools leak with TLS required on data nodes
# Suppress leak detection for them until leak is found.
leak:ndb_blob_tool
leak:ndb_config
leak:ndb_delete_all
leak:ndb_desc
leak:ndb_drop_index
leak:ndb_drop_table
leak:ndb_import
leak:ndb_index_stat
leak:ndb_move_data
leak:ndb_restore
leak:ndb_select_all
leak:ndb_select_count
leak:ndb_show_tables
leak:ndb_sign_keys