]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix a potentially serious bug discovered by BEAM.
authorJulian Seward <jseward@acm.org>
Sun, 20 Oct 2013 09:34:13 +0000 (09:34 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 20 Oct 2013 09:34:13 +0000 (09:34 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13666

auxprogs/valgrind-di-server.c

index f7a0ba0a820833367d411a8270e14cf7dc05c2a2..2889d260cc57dab452677f579b59b3dc0f959f6b 100644 (file)
@@ -780,7 +780,7 @@ static Bool handle_transaction ( int conn_no )
          this slot.  But check anyway. */
       Bool ok = True;
       if (req_session_id != conn_state[conn_no].session_id) {
-         req = mk_Frame_asciiz("FAIL", "READ: invalid session ID");
+         res = mk_Frame_asciiz("FAIL", "READ: invalid session ID");
          ok = False;
       }
       /* Check we're connected to a file, and if so range-check the