<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:tahoma, 'new york', times, serif;font-size:10pt"><div></div><div>Hi,</div><div><br></div><div>There is a coding bug in the latest version of the jcifs v1.3.14</div><div><br></div><div>When looping through the list of wins servers and waiting for response the code refers to incorrectly&nbsp;initialised&nbsp;variable (timeout)</div><div><br></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif">Class -&nbsp;jcifs.netbios.NameServiceClient</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif">method -&nbsp;send( NameServicePacket request, NameServicePacket response,&nbsp;int timeout ) throws IOException</font></div><div><br></div><div>The code for the waiting for response has&nbsp;<span class="Apple-style-span" style="font-family: 'Courier New',
 courier, monaco, monospace, sans-serif; ">while (timeout &gt; 0) {</span></div><div><div>the variable 'timeout' has not been initialised. So the first IP address in&nbsp;jcifs.netbios.wins gets 3Sec but the next ones don't wait for a response at all.</div><div><br></div><div>I am not sure of where to file this bug, so sending to the list.</div><br></div><div>Cheers,</div><div>Prasad</div><div><br></div><div style="position:fixed"></div>


</div><br></body></html>