Debian Codegraph @

debian/patches/ignore-tests-null-pointer-dereference.patch

raw
1 Index: freetype/src/freetype.rs
2 ===================================================================
3 --- freetype.orig/src/freetype.rs
4 +++ freetype/src/freetype.rs
5 @@ -134,6 +134,7 @@ pub struct FT_MemoryRec_ {
6 }
7 #[test]
8 #[cfg(target_pointer_width="64")]
9 +#[ignore]
10 fn bindgen_test_layout_FT_MemoryRec_() {
11 assert_eq!(::std::mem::size_of::<FT_MemoryRec_>() , 32usize , concat ! (
12 "Size of: " , stringify ! ( FT_MemoryRec_ ) ));
13 @@ -197,6 +198,7 @@ pub struct FT_StreamRec_ {
14 }
15 #[test]
16 #[cfg(target_pointer_width="64")]
17 +#[ignore]
18 fn bindgen_test_layout_FT_StreamRec_() {
19 assert_eq!(::std::mem::size_of::<FT_StreamRec_>() , 80usize , concat ! (
20 "Size of: " , stringify ! ( FT_StreamRec_ ) ));
21 @@ -266,6 +268,7 @@ pub struct FT_StreamDesc_ {
22 }
23 #[test]
24 #[cfg(target_pointer_width="64")]
25 +#[ignore]
26 fn bindgen_test_layout_FT_StreamDesc_() {
27 assert_eq!(::std::mem::size_of::<FT_StreamDesc_>() , 8usize , concat ! (
28 "Size of: " , stringify ! ( FT_StreamDesc_ ) ));
29 @@ -306,6 +309,7 @@ pub struct FT_Vector_ {
30 }
31 #[test]
32 #[cfg(target_pointer_width="64")]
33 +#[ignore]
34 fn bindgen_test_layout_FT_Vector_() {
35 assert_eq!(::std::mem::size_of::<FT_Vector_>() , 16usize , concat ! (
36 "Size of: " , stringify ! ( FT_Vector_ ) ));
37 @@ -336,6 +340,7 @@ pub struct FT_BBox_ {
38 }
39 #[test]
40 #[cfg(target_pointer_width="64")]
41 +#[ignore]
42 fn bindgen_test_layout_FT_BBox_() {
43 assert_eq!(::std::mem::size_of::<FT_BBox_>() , 32usize , concat ! (
44 "Size of: " , stringify ! ( FT_BBox_ ) ));
45 @@ -394,6 +399,7 @@ pub struct FT_Bitmap_ {
46 }
47 #[test]
48 #[cfg(target_pointer_width="64")]
49 +#[ignore]
50 fn bindgen_test_layout_FT_Bitmap_() {
51 assert_eq!(::std::mem::size_of::<FT_Bitmap_>() , 40usize , concat ! (
52 "Size of: " , stringify ! ( FT_Bitmap_ ) ));
53 @@ -456,6 +462,7 @@ pub struct FT_Outline_ {
54 }
55 #[test]
56 #[cfg(target_pointer_width="64")]
57 +#[ignore]
58 fn bindgen_test_layout_FT_Outline_() {
59 assert_eq!(::std::mem::size_of::<FT_Outline_>() , 40usize , concat ! (
60 "Size of: " , stringify ! ( FT_Outline_ ) ));
61 @@ -531,6 +538,7 @@ pub struct FT_Outline_Funcs_ {
62 }
63 #[test]
64 #[cfg(target_pointer_width="64")]
65 +#[ignore]
66 fn bindgen_test_layout_FT_Outline_Funcs_() {
67 assert_eq!(::std::mem::size_of::<FT_Outline_Funcs_>() , 48usize , concat !
68 ( "Size of: " , stringify ! ( FT_Outline_Funcs_ ) ));
69 @@ -595,6 +603,7 @@ pub struct FT_Span_ {
70 pub coverage: ::std::os::raw::c_uchar,
71 }
72 #[test]
73 +#[ignore]
74 fn bindgen_test_layout_FT_Span_() {
75 assert_eq!(::std::mem::size_of::<FT_Span_>() , 6usize , concat ! (
76 "Size of: " , stringify ! ( FT_Span_ ) ));
77 @@ -652,6 +661,7 @@ pub struct FT_Raster_Params_ {
78 }
79 #[test]
80 #[cfg(target_pointer_width="64")]
81 +#[ignore]
82 fn bindgen_test_layout_FT_Raster_Params_() {
83 assert_eq!(::std::mem::size_of::<FT_Raster_Params_>() , 96usize , concat !
84 ( "Size of: " , stringify ! ( FT_Raster_Params_ ) ));
85 @@ -743,6 +753,7 @@ pub struct FT_Raster_Funcs_ {
86 }
87 #[test]
88 #[cfg(target_pointer_width="64")]
89 +#[ignore]
90 fn bindgen_test_layout_FT_Raster_Funcs_() {
91 assert_eq!(::std::mem::size_of::<FT_Raster_Funcs_>() , 48usize , concat !
92 ( "Size of: " , stringify ! ( FT_Raster_Funcs_ ) ));
93 @@ -810,6 +821,7 @@ pub struct FT_UnitVector_ {
94 pub y: FT_F2Dot14,
95 }
96 #[test]
97 +#[ignore]
98 fn bindgen_test_layout_FT_UnitVector_() {
99 assert_eq!(::std::mem::size_of::<FT_UnitVector_>() , 4usize , concat ! (
100 "Size of: " , stringify ! ( FT_UnitVector_ ) ));
101 @@ -840,6 +852,7 @@ pub struct FT_Matrix_ {
102 }
103 #[test]
104 #[cfg(target_pointer_width="64")]
105 +#[ignore]
106 fn bindgen_test_layout_FT_Matrix_() {
107 assert_eq!(::std::mem::size_of::<FT_Matrix_>() , 32usize , concat ! (
108 "Size of: " , stringify ! ( FT_Matrix_ ) ));
109 @@ -878,6 +891,7 @@ pub struct FT_Data_ {
110 }
111 #[test]
112 #[cfg(target_pointer_width="64")]
113 +#[ignore]
114 fn bindgen_test_layout_FT_Data_() {
115 assert_eq!(::std::mem::size_of::<FT_Data_>() , 16usize , concat ! (
116 "Size of: " , stringify ! ( FT_Data_ ) ));
117 @@ -909,6 +923,7 @@ pub struct FT_Generic_ {
118 }
119 #[test]
120 #[cfg(target_pointer_width="64")]
121 +#[ignore]
122 fn bindgen_test_layout_FT_Generic_() {
123 assert_eq!(::std::mem::size_of::<FT_Generic_>() , 16usize , concat ! (
124 "Size of: " , stringify ! ( FT_Generic_ ) ));
125 @@ -938,6 +953,7 @@ pub struct FT_ListNodeRec_ {
126 }
127 #[test]
128 #[cfg(target_pointer_width="64")]
129 +#[ignore]
130 fn bindgen_test_layout_FT_ListNodeRec_() {
131 assert_eq!(::std::mem::size_of::<FT_ListNodeRec_>() , 24usize , concat ! (
132 "Size of: " , stringify ! ( FT_ListNodeRec_ ) ));
133 @@ -971,6 +987,7 @@ pub struct FT_ListRec_ {
134 }
135 #[test]
136 #[cfg(target_pointer_width="64")]
137 +#[ignore]
138 fn bindgen_test_layout_FT_ListRec_() {
139 assert_eq!(::std::mem::size_of::<FT_ListRec_>() , 16usize , concat ! (
140 "Size of: " , stringify ! ( FT_ListRec_ ) ));
141 @@ -1311,6 +1328,7 @@ pub struct FT_Glyph_Metrics_ {
142 }
143 #[test]
144 #[cfg(target_pointer_width="64")]
145 +#[ignore]
146 fn bindgen_test_layout_FT_Glyph_Metrics_() {
147 assert_eq!(::std::mem::size_of::<FT_Glyph_Metrics_>() , 64usize , concat !
148 ( "Size of: " , stringify ! ( FT_Glyph_Metrics_ ) ));
149 @@ -1372,6 +1390,7 @@ pub struct FT_Bitmap_Size_ {
150 }
151 #[test]
152 #[cfg(target_pointer_width="64")]
153 +#[ignore]
154 fn bindgen_test_layout_FT_Bitmap_Size_() {
155 assert_eq!(::std::mem::size_of::<FT_Bitmap_Size_>() , 32usize , concat ! (
156 "Size of: " , stringify ! ( FT_Bitmap_Size_ ) ));
157 @@ -1468,6 +1487,7 @@ pub struct FT_FaceRec_ {
158 }
159 #[test]
160 #[cfg(target_pointer_width="64")]
161 +#[ignore]
162 fn bindgen_test_layout_FT_FaceRec_() {
163 assert_eq!(::std::mem::size_of::<FT_FaceRec_>() , 248usize , concat ! (
164 "Size of: " , stringify ! ( FT_FaceRec_ ) ));
165 @@ -1643,6 +1663,7 @@ pub struct FT_SizeRec_ {
166 }
167 #[test]
168 #[cfg(target_pointer_width="64")]
169 +#[ignore]
170 fn bindgen_test_layout_FT_SizeRec_() {
171 assert_eq!(::std::mem::size_of::<FT_SizeRec_>() , 88usize , concat ! (
172 "Size of: " , stringify ! ( FT_SizeRec_ ) ));
173 @@ -1701,6 +1722,7 @@ pub struct FT_GlyphSlotRec_ {
174 }
175 #[test]
176 #[cfg(target_pointer_width="64")]
177 +#[ignore]
178 fn bindgen_test_layout_FT_GlyphSlotRec_() {
179 assert_eq!(::std::mem::size_of::<FT_GlyphSlotRec_>() , 304usize , concat !
180 ( "Size of: " , stringify ! ( FT_GlyphSlotRec_ ) ));
181 @@ -1831,6 +1853,7 @@ pub struct FT_CharMapRec_ {
182 }
183 #[test]
184 #[cfg(target_pointer_width="64")]
185 +#[ignore]
186 fn bindgen_test_layout_FT_CharMapRec_() {
187 assert_eq!(::std::mem::size_of::<FT_CharMapRec_>() , 16usize , concat ! (
188 "Size of: " , stringify ! ( FT_CharMapRec_ ) ));
189 @@ -1918,6 +1941,7 @@ pub struct FT_Size_Metrics_ {
190 }
191 #[test]
192 #[cfg(target_pointer_width="64")]
193 +#[ignore]
194 fn bindgen_test_layout_FT_Size_Metrics_() {
195 assert_eq!(::std::mem::size_of::<FT_Size_Metrics_>() , 56usize , concat !
196 ( "Size of: " , stringify ! ( FT_Size_Metrics_ ) ));
197 @@ -1996,6 +2020,7 @@ pub struct FT_Parameter_ {
198 }
199 #[test]
200 #[cfg(target_pointer_width="64")]
201 +#[ignore]
202 fn bindgen_test_layout_FT_Parameter_() {
203 assert_eq!(::std::mem::size_of::<FT_Parameter_>() , 16usize , concat ! (
204 "Size of: " , stringify ! ( FT_Parameter_ ) ));
205 @@ -2030,6 +2055,7 @@ pub struct FT_Open_Args_ {
206 }
207 #[test]
208 #[cfg(target_pointer_width="64")]
209 +#[ignore]
210 fn bindgen_test_layout_FT_Open_Args_() {
211 assert_eq!(::std::mem::size_of::<FT_Open_Args_>() , 64usize , concat ! (
212 "Size of: " , stringify ! ( FT_Open_Args_ ) ));
213 @@ -2134,6 +2160,7 @@ pub struct FT_Size_RequestRec_ {
214 }
215 #[test]
216 #[cfg(target_pointer_width="64")]
217 +#[ignore]
218 fn bindgen_test_layout_FT_Size_RequestRec_() {
219 assert_eq!(::std::mem::size_of::<FT_Size_RequestRec_>() , 32usize , concat
220 ! ( "Size of: " , stringify ! ( FT_Size_RequestRec_ ) ));
221 @@ -2403,6 +2430,7 @@ pub struct FT_Module_Class_ {
222 }
223 #[test]
224 #[cfg(target_pointer_width="64")]
225 +#[ignore]
226 fn bindgen_test_layout_FT_Module_Class_() {
227 assert_eq!(::std::mem::size_of::<FT_Module_Class_>() , 72usize , concat !
228 ( "Size of: " , stringify ! ( FT_Module_Class_ ) ));