diff --git a/core/src/avm1/globals/xml_socket.rs b/core/src/avm1/globals/xml_socket.rs index 2bde16012..36ab29777 100644 --- a/core/src/avm1/globals/xml_socket.rs +++ b/core/src/avm1/globals/xml_socket.rs @@ -163,7 +163,7 @@ pub fn send<'gc>( .coerce_to_string(activation)? .to_string() .into_bytes(); - + // The string needs to end with a null byte. data.push(0);