[Mono-bugs] [Bug 518138] HttpResponseStream throws exception if empty byte buffer is written

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jul 12 18:25:14 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=518138

User gert.driesen at pandora.be added comment
http://bugzilla.novell.com/show_bug.cgi?id=518138#c1


Gert Driesen <gert.driesen at pandora.be> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |gert.driesen at pandora.be
         Resolution|                            |FIXED




--- Comment #1 from Gert Driesen <gert.driesen at pandora.be>  2009-07-12 16:25:12 MDT ---
Fixed in SVN (revision 137758).

Note that on the 2.0 profile (and higher), we now throw an
ArgumentOutOfRangeException if offset >= buffer length. This matches MS.

The fact that they reject an offset that equals to the length of the buffer may
be considered a bug (if the number of bytes to write is zero). I'll probably
submit a bug against MS.NET for that.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list