We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43fbcbd commit 93ea92fCopy full SHA for 93ea92f
src/native/eventpipe/ds-protocol.c
@@ -330,6 +330,8 @@ ipc_message_try_parse_string_utf16_t_byte_array (
330
331
bool result = false;
332
333
+ ep_raise_error_if_nok (((uintptr_t)*buffer & 0x1u) == 0);
334
+
335
ep_raise_error_if_nok (ds_ipc_message_try_parse_uint32_t (buffer, buffer_len, string_byte_array_len));
336
*string_byte_array_len *= sizeof (ep_char16_t);
337
0 commit comments