]> eyrie.org Git - kerberos/krb5-strength.git/blob - tests/data/valgrind.supp
New upstream version 3.2
[kerberos/krb5-strength.git] / tests / data / valgrind.supp
1 # -*- conf -*-
2 #
3 # This is a valgrind suppression file for analysis of test suite results.
4 #
5 # Suppress a variety of apparent memory leaks in various Kerberos
6 # implementations due to one-time instantiation of data, and a few other
7 # artifacts of the test suite for rra-c-util portability and utility code
8 # and related software.
9 #
10 # The canonical version of this file is maintained in the rra-c-util package,
11 # which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
12 #
13 # Written by Russ Allbery <eagle@eyrie.org>
14 # Copyright 2017-2018 Russ Allbery <eagle@eyrie.org>
15 # Copyright 2011-2014
16 #     The Board of Trustees of the Leland Stanford Junior University
17 #
18 # Permission is hereby granted, free of charge, to any person obtaining a
19 # copy of this software and associated documentation files (the "Software"),
20 # to deal in the Software without restriction, including without limitation
21 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
22 # and/or sell copies of the Software, and to permit persons to whom the
23 # Software is furnished to do so, subject to the following conditions:
24 #
25 # The above copyright notice and this permission notice shall be included in
26 # all copies or substantial portions of the Software.
27 #
28 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
29 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
30 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
31 # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
32 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
33 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
34 # DEALINGS IN THE SOFTWARE.
35 #
36 # SPDX-License-Identifier: MIT
37
38 {
39    dlopen-dlerror
40    Memcheck:Leak
41    fun:calloc
42    fun:_dlerror_run
43 }
44 {
45    fakeroot-msgsnd
46    Memcheck:Param
47    msgsnd(msgp->mtext)
48    fun:msgsnd
49    fun:send_fakem
50    fun:send_get_fakem
51    obj:*/libfakeroot-sysv.so
52 }
53 {
54    heimdal-base-once
55    Memcheck:Leak
56    fun:*alloc
57    ...
58    fun:heim_base_once_f
59 }
60 {
61    heimdal-gss-config
62    Memcheck:Leak
63    fun:*alloc
64    ...
65    fun:krb5_config_parse_debug
66 }
67 {
68    heimdal-gss-config-2
69    Memcheck:Leak
70    fun:*alloc
71    fun:_krb5_config_get_entry
72 }
73 {
74    heimdal-gss-krb5-init
75    Memcheck:Leak
76    fun:*alloc
77    ...
78    fun:_gsskrb5_init
79 }
80 {
81    heimdal-gss-load-mech
82    Memcheck:Leak
83    fun:*alloc
84    ...
85    fun:_gss_load_mech
86 }
87 {
88    heimdal-krb5-init-context-once
89    Memcheck:Leak
90    fun:*alloc
91    ...
92    fun:init_context_once
93 }
94 {
95    heimdal-krb5-reg-plugins-once
96    Memcheck:Leak
97    fun:*alloc
98    ...
99    fun:krb5_plugin_register
100    fun:reg_def_plugins_once
101 }
102 {
103    heimdal-krb5-openssl-init
104    Memcheck:Leak
105    fun:*alloc
106    obj:*
107    fun:CRYPTO_*alloc
108 }
109 {
110    mit-gss-ccache
111    Memcheck:Leak
112    fun:*alloc
113    fun:krb5int_setspecific
114    fun:kg_set_ccache_name
115    fun:gss_krb5int_ccache_name
116 }
117 {
118    mit-gss-ccache-2
119    Memcheck:Leak
120    fun:*alloc
121    fun:strdup
122    fun:kg_set_ccache_name
123    fun:gss_krb5int_ccache_name
124 }
125 {
126    mit-gss-error
127    Memcheck:Leak
128    fun:*alloc
129    ...
130    fun:krb5_gss_save_error_string
131 }
132 {
133    mit-gss-mechs
134    Memcheck:Leak
135    fun:glob
136    fun:loadConfigFiles
137    fun:updateMechList
138    fun:build_mechSet
139    fun:gss_indicate_mechs
140 }
141 {
142    mit-kadmin-ovku-error
143    Memcheck:Leak
144    fun:*alloc*
145    fun:initialize_ovku_error_table_r
146 }
147 {
148    mit-krb5-changepw
149    Memcheck:Leak
150    fun:*alloc
151    fun:change_set_password
152    fun:krb5_change_password
153    fun:krb5_get_init_creds_password
154 }
155 {
156    mit-krb5-pkinit-openssl-init
157    Memcheck:Leak
158    fun:*alloc
159    ...
160    fun:krb5_init_preauth_context
161 }
162 {
163    mit-krb5-pkinit-openssl-request
164    Memcheck:Leak
165    fun:*alloc
166    ...
167    fun:krb5_preauth_request_context_init
168 }
169 {
170    mit-krb5-pkinit-openssl-request-2
171    Memcheck:Leak
172    fun:*alloc
173    ...
174    fun:k5_preauth_request_context_init
175 }
176 {
177    mit-krb5-plugin-dirs
178    Memcheck:Leak
179    fun:calloc
180    fun:krb5int_open_plugin_dirs
181 }
182 {
183    mit-krb5-plugin-dlerror
184    Memcheck:Leak
185    fun:calloc
186    fun:_dlerror_run
187    ...
188    fun:krb5int_open_plugin
189 }
190 {
191    mit-krb5-plugin-register
192    Memcheck:Leak
193    fun:malloc
194    fun:strdup
195    fun:register_module.isra.1
196 }
197 {
198    mit-krb5-preauth-init
199    Memcheck:Leak
200    fun:*alloc
201    ...
202    fun:k5_init_preauth_context
203 }
204 {
205    mit-krb5-preauth-init
206    Memcheck:Leak
207    fun:strdup
208    fun:add_to_list
209    fun:profile_get_values
210    ...
211    fun:clpreauth_prep_questions
212 }
213 {
214    mit-krb5-preauth-init-2
215    Memcheck:Leak
216    fun:*alloc
217    fun:init_list
218    fun:profile_get_values
219    ...
220    fun:clpreauth_prep_questions
221 }
222 {
223    mit-krb5-profile
224    Memcheck:Leak
225    fun:*alloc
226    ...
227    fun:profile_open_file
228 }
229 {
230    portable-setenv
231    Memcheck:Leak
232    fun:malloc
233    fun:test_setenv
234 }