]> eyrie.org Git - kerberos/krb5-strength.git/blob - tests/data/valgrind.supp
New upstream version 3.1
[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 2011, 2012, 2013, 2014
15 #     The Board of Trustees of the Leland Stanford Junior University
16 #
17 # Permission is hereby granted, free of charge, to any person obtaining a
18 # copy of this software and associated documentation files (the "Software"),
19 # to deal in the Software without restriction, including without limitation
20 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
21 # and/or sell copies of the Software, and to permit persons to whom the
22 # Software is furnished to do so, subject to the following conditions:
23 #
24 # The above copyright notice and this permission notice shall be included in
25 # all copies or substantial portions of the Software.
26 #
27 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
30 # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
31 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
32 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
33 # DEALINGS IN THE SOFTWARE.
34
35 {
36    dlopen-dlerror
37    Memcheck:Leak
38    fun:calloc
39    fun:_dlerror_run
40 }
41 {
42    heimdal-gss-config
43    Memcheck:Leak
44    fun:*alloc
45    ...
46    fun:krb5_config_parse_debug
47 }
48 {
49    heimdal-gss-config-2
50    Memcheck:Leak
51    fun:*alloc
52    fun:_krb5_config_get_entry
53 }
54 {
55    heimdal-gss-krb5-init
56    Memcheck:Leak
57    fun:*alloc
58    ...
59    fun:_gsskrb5_init
60 }
61 {
62    heimdal-gss-load-mech
63    Memcheck:Leak
64    fun:*alloc
65    ...
66    fun:_gss_load_mech
67 }
68 {
69    heimdal-krb5-init-context-once
70    Memcheck:Leak
71    fun:*alloc
72    ...
73    fun:init_context_once
74 }
75 {
76    heimdal-krb5-reg-plugins-once
77    Memcheck:Leak
78    fun:*alloc
79    ...
80    fun:krb5_plugin_register
81    fun:reg_def_plugins_once
82 }
83 {
84    heimdal-krb5-openssl-init
85    Memcheck:Leak
86    fun:*alloc
87    obj:*
88    fun:CRYPTO_*alloc
89 }
90 {
91    mit-gss-ccache
92    Memcheck:Leak
93    fun:*alloc
94    fun:krb5int_setspecific
95    fun:kg_set_ccache_name
96    fun:gss_krb5int_ccache_name
97 }
98 {
99    mit-gss-ccache-2
100    Memcheck:Leak
101    fun:*alloc
102    fun:strdup
103    fun:kg_set_ccache_name
104    fun:gss_krb5int_ccache_name
105 }
106 {
107    mit-gss-error
108    Memcheck:Leak
109    fun:*alloc
110    ...
111    fun:krb5_gss_save_error_string
112 }
113 {
114    mit-krb5-pkinit-openssl-init
115    Memcheck:Leak
116    fun:*alloc
117    ...
118    fun:krb5_init_preauth_context
119 }
120 {
121    mit-krb5-pkinit-openssl-request
122    Memcheck:Leak
123    fun:*alloc
124    ...
125    fun:krb5_preauth_request_context_init
126 }
127 {
128    mit-krb5-plugin-dirs
129    Memcheck:Leak
130    fun:calloc
131    fun:krb5int_open_plugin_dirs
132 }
133 {
134    mit-krb5-plugin-dlerror
135    Memcheck:Leak
136    fun:calloc
137    fun:_dlerror_run
138    ...
139    fun:krb5int_open_plugin
140 }
141 {
142    mit-krb5-plugin-register
143    Memcheck:Leak
144    fun:malloc
145    fun:strdup
146    fun:register_module.isra.1
147 }
148 {
149    portable-setenv
150    Memcheck:Leak
151    fun:malloc
152    fun:test_setenv
153 }