citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit cc1c37267bec140151282de0692de070b50b3096
parent ac623f4839ab0ce4198f262345aca8c762f6687f
Author: Kyle Milz <kyle@0x30.net>
Date:   Sun, 31 Jul 2016 00:11:25 -0600

src: hard check on protocol version

Diffstat:
Msrc/runtime.cc | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/runtime.cc b/src/runtime.cc @@ -30,6 +30,7 @@ RuntimeProcess::RuntimeProcess(af_unix &sock) : // Protocol defined in lib/runtime.c send_static(). // This is the receive side of things. m_socket.read_all(m_ver); + assert(m_ver == 0); m_socket.read_all(m_num_tus); m_socket.read_all(m_lines_total); m_socket.read_all(m_pid);