[jcifs] bug in jcifs-1.3.14
Prasad U V B M
uvbm_pras at yahoo.com
Mon Sep 27 05:47:12 MDT 2010
Hi,
There is a coding bug in the latest version of the jcifs v1.3.14
When looping through the list of wins servers and waiting for response the code
refers to incorrectly initialised variable (timeout)
Class - jcifs.netbios.NameServiceClient
method - send( NameServicePacket request, NameServicePacket response, int
timeout ) throws IOException
The code for the waiting for response has while (timeout > 0) {
the variable 'timeout' has not been initialised. So the first IP address
in jcifs.netbios.wins gets 3Sec but the next ones don't wait for a response at
all.
I am not sure of where to file this bug, so sending to the list.
Cheers,
Prasad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/jcifs/attachments/20100927/b0636911/attachment.html>
More information about the jCIFS
mailing list