bug in jcifs-1.2.7

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

bug in jcifs-1.2.7

Bradshaw, Scott W.
Message
After many hours of headache, I was finally able to pinpoint a bug in the NtlmHttpURLConnection class.
 
Line 320:
entry.setValue(value);
 
should be:
 
entry.setValue(values);
 
 
Basically if setRequestProperty is ever called with the same key, JCIFS will crash on the reconnect(). It will attempt to Cast a String to a List object.
 
I browsed the website and I didn't see any formal way of submitting bugs, so I figured I would just post it here.
 
Thanks,
Scott
 
 
Reply | Threaded
Open this post in threaded view
|

Re: bug in jcifs-1.2.7

Michael B Allen-4
On Mon, 23 Jan 2006 18:41:34 -0500
"Bradshaw, Scott W." <[hidden email]> wrote:

> After many hours of headache, I was finally able to pinpoint a bug in
> the NtlmHttpURLConnection class.
>  
> Line 320:
> entry.setValue(value);
>  
> should be:
>  
> entry.setValue(values);
>  
>  
> Basically if setRequestProperty is ever called with the same key, JCIFS
> will crash on the reconnect(). It will attempt to Cast a String to a
> List object.
>  
> I browsed the website and I didn't see any formal way of submitting
> bugs, so I figured I would just post it here.

Thanks. Will apply.

Mike
Reply | Threaded
Open this post in threaded view
|

Re: bug in jcifs-1.2.7

Michael B Allen-4
Applied in 1.2.8 to be released RSN.

On Tue, 24 Jan 2006 01:51:15 -0500
Michael B Allen <[hidden email]> wrote:

> On Mon, 23 Jan 2006 18:41:34 -0500
> "Bradshaw, Scott W." <[hidden email]> wrote:
>
> > After many hours of headache, I was finally able to pinpoint a bug in
> > the NtlmHttpURLConnection class.
> >  
> > Line 320:
> > entry.setValue(value);
> >  
> > should be:
> >  
> > entry.setValue(values);
> >  
> >  
> > Basically if setRequestProperty is ever called with the same key, JCIFS
> > will crash on the reconnect(). It will attempt to Cast a String to a
> > List object.
> >  
> > I browsed the website and I didn't see any formal way of submitting
> > bugs, so I figured I would just post it here.
>
> Thanks. Will apply.
>
> Mike
>