From d21afc47f4e2d165330fb91fdb7dfd707f28e247 Mon Sep 17 00:00:00 2001 From: Nav Date: Sat, 5 Oct 2024 14:46:09 +0100 Subject: [PATCH] Removed null byte from empty response packet in GDB server --- src/DebugServer/Gdb/ResponsePackets/EmptyResponsePacket.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DebugServer/Gdb/ResponsePackets/EmptyResponsePacket.hpp b/src/DebugServer/Gdb/ResponsePackets/EmptyResponsePacket.hpp index da8f3e7f..f24b602e 100644 --- a/src/DebugServer/Gdb/ResponsePackets/EmptyResponsePacket.hpp +++ b/src/DebugServer/Gdb/ResponsePackets/EmptyResponsePacket.hpp @@ -11,7 +11,7 @@ namespace DebugServer::Gdb::ResponsePackets { public: EmptyResponsePacket() - : ResponsePacket(std::vector{0}) + : ResponsePacket(std::vector{}) {} }; }