On Friday 15 October 2010 11:23:38 am Pieper, Aaron wrote:
> I've created a JIRA tracker related to this issue:
> 
> https://issues.apache.org/jira/browse/CXF-3068
> 
> This tracker includes a test case, and a patch. I wouldn't recommend either
> of these for inclusion in CXF but they're a start.

Now fixed, I think.  Any chance you can try it out?

Dan



> 
> - Aaron
> 
> -----Original Message-----
> From: Daniel Kulp [mailto:[email protected]]
> Sent: Thursday, October 14, 2010 11:23 PM
> To: [email protected]
> Cc: Benson Margulies
> Subject: Re: Possible bug in MimeBodyPartInputStream - should I report
> this?
> 
> On Thursday 14 October 2010 8:36:33 pm Benson Margulies wrote:
> > Your analysis seems plausible to me. To test this for sure, it would
> > require finding a way to inject a stream that would deliver the right
> > wrong stuff. That would be an entertaining programming project. Dan,
> > what do you think?
> 
> it shouldn't be TOO tricky.   Take a look at the AttachmentDeserializerTest
> in rt/core.   It creates ByteArrayInputStreams for various test cases, but
> we could create a subclass of ByteArrayInputStream that only allows reads
> in chunks of 20 bytes or something to see what happens.
> 
> Dan

-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog

Reply via email to