[jcifs] Releasing an mid causes a NullPointerException

Michael B Allen mba2000 at ioplex.com
Fri Jul 16 20:47:49 GMT 2004


Rick Wessman said:
> Hi:
>
> Under certain error conditions,
> SmbTransport::releaseMid() will throw an NPE because
> the mid is null.

Ok. I'll take a look. I'll have to track down why the mid is null though.

> I've attached a fix.

Sorry for being pedantic but the proper way to make a patch is:

   diff -Nuar new old

Your patch is "reversed". Of course in this instance the patch
successfully conveys the necessary information so again I'm just being
pedantic.

Mike


More information about the jcifs mailing list