https://bugzilla.novell.com/show_bug.cgi?id=681916
https://bugzilla.novell.com/show_bug.cgi?id=681916#c0 Summary: null byte array doesnt get stored in the database as null Classification: Mono Product: Mono: Runtime Version: SVN Platform: 64bit OS/Version: RHEL 5 Status: NEW Severity: Normal Priority: P5 - None Component: misc AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Created an attachment (id=420910) --> (http://bugzilla.novell.com/attachment.cgi?id=420910) code that demonstrates the problem User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; MS-RTC LM 8) When a Null byte array gets stored in the database , it ends up storing '0x' in the database but this actually represents an empty byte array so when its read back, it comes back as a empty byte array rather than a null byte array. The attached code demonstrates this. Running it on windows it stores and load back as null . Reproducible: Always Steps to Reproduce: 1. 2. 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
