[Mono-bugs] [Bug 445867] Mono. DataConverter assumes alignment during string packing but not during unpacking

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 17 20:06:58 EST 2008


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

User cdhowie at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=445867#c2





--- Comment #2 from Chris Howie <cdhowie at gmail.com>  2008-11-17 18:06:55 MST ---
Created an attachment (id=252765)
 --> (https://bugzilla.novell.com/attachment.cgi?id=252765)
Test case

This test case should output nothing.  On my system it outputs:

--------8<--------
[1] != "Alignment test"
--------8<--------

If the unpack string is modified to be "bz8z8z8z8" then unpacked[4] will be the
test string, since three nulls are passed over and put into [1..3].


-- 
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.


More information about the mono-bugs mailing list