Details
Description
in method AttachmentDeserializer.findBoundaryFromInputStream line: "int i = in.read(buf)" is invalid, because read returns "some number of bytes from the input stream and stores them into the buffer array b" so you should check result from read method and repeat reading if neccesary