Hi,Strings are allocated with an extra character. I think this is added to have a NULL at the end anyway. But when the allocated memory is not zero-filled by the GC, only the last character of the string is zeroed that can be and most likely will be overwritten.
Please review and approve the patch.Kornél
StringNull.diff
Description: Binary data
_______________________________________________ Mono-devel-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-devel-list
