[jcifs] bug in jcifs-1.3.14

Michael B Allen ioplex at gmail.com
Mon Sep 27 10:57:12 MDT 2010


Hi Prasad,

I don't have the source in front of me at the moment to confirm your
find (and WINS isn't used much anymore) but I have added this issue to
the TODO list for further investigation at a later time.

Thanks for the feedback,
Mike

-- 
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/

On Mon, Sep 27, 2010 at 7:47 AM, Prasad U V B M <uvbm_pras at yahoo.com> wrote:
> 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
>
>


More information about the jCIFS mailing list