Information Exposure Through Sent Data in Java
<p>I am getting Information Exposure Through Sent Data flaw from veracode in my Java code. 
Here is my code:</p>

<pre><code>// read file and write it into form...
     bytesRead = fileInputStream.read(buffer, 0, bufferSize);  

       while (bytesRead &gt; 0) {

          dos.write(buffer, 0, bufferSize); 
          bytesAvailable = fileInputStream.available();
          bufferSize = Math.min(bytesAvailable, maxBufferSize);
          bytesRead = fileInputStream.read(buffer, 0, bufferSize);   

            }
</code></pre>

<p>And the flaw is the line:  <code>dos.write(buffer, 0, bufferSize);</code> 
Can someone please help me?</p>