<html>
<body>
  <div id="body" style="background-color:#ffffff;" >
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head" style="border-bottom-width:1px;border-bottom-style:solid;" ><td class="headtd" style="padding:0;padding-top:.2em;" colspan="4">Commit in <b><tt>lxdream/src</tt></b></td></tr>
<tr><td><tt><a href="#file1">gdbserver.c</a></tt></td><td id="added" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ddffdd;" align="right">+1</td><td id="removed" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ffdddd;" align="right">-1</td><td class="headtd2" style="padding-left:.3em;padding-right:.3em;" nowrap="nowrap">3edc4bdd7c0b -> 0b947d924029</td></tr>
</table>
<pre class="comment" style="white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word;padding:4px;border:1px dashed #000000;background-color:#ffffdd;" >
Fix uninitialised sinlen in gdb_server_connect_callback, patch from Guinux,
thanks!
</pre>
<hr /><a name="file1" /><div class="file" style="border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;" >
<span class="pathname" style="font-family:monospace; float:right;" >lxdream/src</span><br />
<div class="fileheader" style="margin-bottom:.5em;" ><big><b>gdbserver.c</b></big> <small id="info" style="color: #888888;" >3edc4bdd7c0b -> 0b947d924029</small></div>
<pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >--- lxdream/src/gdbserver.c
+++ lxdream/src/gdbserver.c
@@ -491,7 +491,7 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > gboolean gdb_server_connect_callback( int fd, gpointer data )
 {
     struct sockaddr_in sin;
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >-    socklen_t sinlen;
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+    socklen_t sinlen = sizeof(sin);
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" >     struct gdb_server *server = (struct gdb_server *)data;
     int conn_fd = accept( fd, (struct sockaddr *)&sin, &sinlen);
     if( conn_fd != -1 ) {
</pre></div>
<center><small>Chaos Theory</small></center>
</div></body></html>