11/***************************************************************************
2- * Copyright (c) 2024 Microsoft Corporation
3- *
2+ * Copyright (c) 2024 Microsoft Corporation
3+ *
44 * This program and the accompanying materials are made available under the
55 * terms of the MIT License which is available at
66 * https://opensource.org/licenses/MIT.
7- *
7+ *
88 * SPDX-License-Identifier: MIT
99 **************************************************************************/
1010
@@ -185,7 +185,7 @@ UINT descriptor_length = packed_audio_descriptor[0];
185185 _ux_system_error_handler (UX_SYSTEM_LEVEL_THREAD , UX_SYSTEM_CONTEXT_CLASS , UX_DESCRIPTOR_CORRUPTED );
186186
187187 /* If trace is enabled, insert this event into the trace buffer. */
188- UX_TRACE_IN_LINE_INSERT (UX_TRACE_ERROR , UX_DESCRIPTOR_CORRUPTED , descriptor , 0 , 0 , UX_TRACE_ERRORS , 0 , 0 )
188+ UX_TRACE_IN_LINE_INSERT (UX_TRACE_ERROR , UX_DESCRIPTOR_CORRUPTED , descriptor_length , 0 , 0 , UX_TRACE_ERRORS , 0 , 0 )
189189
190190 return (UX_DESCRIPTOR_CORRUPTED );
191191 }
@@ -200,7 +200,7 @@ UINT descriptor_length = packed_audio_descriptor[0];
200200 _ux_system_error_handler (UX_SYSTEM_LEVEL_THREAD , UX_SYSTEM_CONTEXT_CLASS , UX_DESCRIPTOR_CORRUPTED );
201201
202202 /* If trace is enabled, insert this event into the trace buffer. */
203- UX_TRACE_IN_LINE_INSERT (UX_TRACE_ERROR , UX_DESCRIPTOR_CORRUPTED , descriptor , 0 , 0 , UX_TRACE_ERRORS , 0 , 0 )
203+ UX_TRACE_IN_LINE_INSERT (UX_TRACE_ERROR , UX_DESCRIPTOR_CORRUPTED , descriptor_length , 0 , 0 , UX_TRACE_ERRORS , 0 , 0 )
204204
205205 return (UX_DESCRIPTOR_CORRUPTED );
206206 }
@@ -225,7 +225,7 @@ UINT descriptor_length = packed_audio_descriptor[0];
225225 _ux_system_error_handler (UX_SYSTEM_LEVEL_THREAD , UX_SYSTEM_CONTEXT_CLASS , UX_DESCRIPTOR_CORRUPTED );
226226
227227 /* If trace is enabled, insert this event into the trace buffer. */
228- UX_TRACE_IN_LINE_INSERT (UX_TRACE_ERROR , UX_DESCRIPTOR_CORRUPTED , descriptor , 0 , 0 , UX_TRACE_ERRORS , 0 , 0 )
228+ UX_TRACE_IN_LINE_INSERT (UX_TRACE_ERROR , UX_DESCRIPTOR_CORRUPTED , descriptor_length , 0 , 0 , UX_TRACE_ERRORS , 0 , 0 )
229229
230230 return (UX_DESCRIPTOR_CORRUPTED );
231231 }
@@ -252,7 +252,7 @@ UINT descriptor_length = packed_audio_descriptor[0];
252252 _ux_system_error_handler (UX_SYSTEM_LEVEL_THREAD , UX_SYSTEM_CONTEXT_CLASS , UX_DESCRIPTOR_CORRUPTED );
253253
254254 /* If trace is enabled, insert this event into the trace buffer. */
255- UX_TRACE_IN_LINE_INSERT (UX_TRACE_ERROR , UX_DESCRIPTOR_CORRUPTED , descriptor , 0 , 0 , UX_TRACE_ERRORS , 0 , 0 )
255+ UX_TRACE_IN_LINE_INSERT (UX_TRACE_ERROR , UX_DESCRIPTOR_CORRUPTED , descriptor_length , 0 , 0 , UX_TRACE_ERRORS , 0 , 0 )
256256
257257 return (UX_DESCRIPTOR_CORRUPTED );
258258 }
@@ -339,7 +339,7 @@ UINT descriptor_length = packed_audio_descriptor[0];
339339 _ux_system_error_handler (UX_SYSTEM_LEVEL_THREAD , UX_SYSTEM_CONTEXT_CLASS , UX_DESCRIPTOR_CORRUPTED );
340340
341341 /* If trace is enabled, insert this event into the trace buffer. */
342- UX_TRACE_IN_LINE_INSERT (UX_TRACE_ERROR , UX_DESCRIPTOR_CORRUPTED , descriptor , 0 , 0 , UX_TRACE_ERRORS , 0 , 0 )
342+ UX_TRACE_IN_LINE_INSERT (UX_TRACE_ERROR , UX_DESCRIPTOR_CORRUPTED , descriptor_length , 0 , 0 , UX_TRACE_ERRORS , 0 , 0 )
343343
344344 return (0 );
345345 }
@@ -634,7 +634,7 @@ UINT descriptor_length = packed_audio_descriptor[0];
634634 _ux_system_error_handler (UX_SYSTEM_LEVEL_THREAD , UX_SYSTEM_CONTEXT_CLASS , UX_DESCRIPTOR_CORRUPTED );
635635
636636 /* If trace is enabled, insert this event into the trace buffer. */
637- UX_TRACE_IN_LINE_INSERT (UX_TRACE_ERROR , UX_DESCRIPTOR_CORRUPTED , descriptor , 0 , 0 , UX_TRACE_ERRORS , 0 , 0 )
637+ UX_TRACE_IN_LINE_INSERT (UX_TRACE_ERROR , UX_DESCRIPTOR_CORRUPTED , descriptor_length , 0 , 0 , UX_TRACE_ERRORS , 0 , 0 )
638638
639639 parser -> status = UX_DESCRIPTOR_CORRUPTED ;
640640 return (1 );
0 commit comments