[jcifs] Endless looping occuring in SmbTransport::negotiate

Allen, Michael B (RSCH) Michael_B_Allen at ml.com
Fri Nov 1 11:25:44 EST 2002


Ahh, I see. Well to fix the concurrency issue all you have to do is change the:

  SmbComBlankResponse blank_resp;

to

  SmbComBlankResponse blank_resp = new SmbComBlankResponse();

where all the members of SmbFile are declared and remove the line:

  blank_resp = new SmbComBlankResponse();

in connect().

The best thing to do would be to wait for a 0.7.0b7 because 0.7.0b3 has it's
own problems. But if you want to walk the line ...ok.

> -----Original Message-----
> From:	Sujit Jagdev [SMTP:sujit.jagdev at casero.com]
> Sent:	Thursday, October 31, 2002 7:18 PM
> To:	Allen, Michael B (RSCH)
> Cc:	jcifs at lists.samba.org
> Subject:	RE: [jcifs] Endless looping occuring in SmbTransport::negotiate
> 
> Dear Michael,
> 
> But if I am still using the jcifs7b3 library.
> Sujit
> 
> 
> -----
> 
> The information contained in this message is proprietary of Casero Inc.,
> protected from disclosure, and may be privileged. The information is
> intended to be conveyed only to the designated recipient(s) of the
> message. If the reader of this message is not the intended recipient,
> you are hereby notified that any dissemination, use, distribution or
> copying of this communication is strictly prohibited and may be
> unlawful. If you have received this communication in error, please
> notify us immediately by replying to the message and deleting it from
> your computer. Thank you.
> 




More information about the jcifs mailing list