mono/mono — pull request #541 by dlech (2013-02-01 03:19:13+00:00)
Title: [Fix] System.Security.SecureString.ReadAt(int), includes NUnit test 

When called, the ReadAt(int) method in System.Security.SecureString only removed a single byte from the internal storage buffer. However, the data is as a Unicode string, so it is 2 bytes per character.

This patch fixes the problem and included a unit test to verify that it is indeed fixed.