2009-12-13 Miguel de Icaza <miguel@novell.com>
authorMiguel de Icaza <miguel@gnome.org>
Mon, 14 Dec 2009 04:07:47 +0000 (04:07 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Mon, 14 Dec 2009 04:07:47 +0000 (04:07 -0000)
commit65899ab05b50e2f94c16ab350173890be9aa774c
treee64a723b60e10b010ac1cb2f1759de7dba714416
parent0ede800ea01b5041dcd7573e81e211323b5ef48a
2009-12-13  Miguel de Icaza  <miguel@novell.com>

* SafeBuffer.cs: When comparing the end, we only need to compare
source+size being bigger than last_byte, not bigger or equal,
otherwise we can not access the last element.

svn path=/trunk/mcs/; revision=148365
mcs/class/corlib/System.Runtime.InteropServices/ChangeLog
mcs/class/corlib/System.Runtime.InteropServices/SafeBuffer.cs