https://bugzilla.novell.com/show_bug.cgi?id=441443

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=441443#c1


Zoltan Varga <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]




--- Comment #1 from Zoltan Varga <[EMAIL PROTECTED]>  2008-11-04 05:11:27 MST 
---
What mono version is this ? Also, a testcase would be useful.

The offending code in BinaryReader.cs looks like this:

                        int ccount = ReadCharBytes (result, 0, 1, out bcount);

                        // Reposition the stream
                        m_stream.Position -= bcount;

Here, ReadCharBytes sets bcount to 0, and only increments it, so the only way
it could become negative is by overflowing.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to