[Mono-dev] Array.Copy endian issue?

Bassam Tabbara bassam at symform.com
Wed Jan 29 23:53:45 UTC 2014


Hello,

I’m chasing a bug while parsing the machine.config XML file, and I’ve narrowed it down to Array.Copy performing the wrong copy. Here’s an example:

before copy '<descript'
after copy '< edcsirt'

The buffer is altered after its copied. This seems to happen only on newer versions of linux (3.4.6) on an armv5tel device. When running linux 2.6 I don’t see this.

Any thoughts on what might be causing this?

Thanks!
Bassam


More information about the Mono-devel-list mailing list