clayborg requested changes to this revision.
clayborg added a comment.
This revision now requires changes to proceed.

Please init fd



================
Comment at: tools/lldb-server/lldb-gdbserver.cpp:388
   bool reverse_connect = false;
+  int connection_fd;
 
----------------
This must be initialized to -1 since only the 'F' case will store to this. 
Pretty much all of the time random memory would be used for this and 
incorrectly try to use a random integer as a file descriptor.


https://reviews.llvm.org/D33213



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to