regex: A few more null and bounds checks
authorRaja R Harinath <harinath@hurrynot.org>
Mon, 7 Sep 2009 17:14:37 +0000 (17:14 -0000)
committerRaja R Harinath <harinath@hurrynot.org>
Mon, 7 Sep 2009 17:14:37 +0000 (17:14 -0000)
commit2d8031df3c7e920fd1578054ebccaeb8a250e4e5
treed88010735ff199b129ce52505ccacf00e37103af
parente8d4a9721168da0865d1eae1bf9e165690a2ebfc
regex: A few more null and bounds checks

* Regex.cs (Escape, Unescape): Add null checks.
(validate_options): Add ECMAScript option checks.
(Replace, Split): Add a few bounds checks.

svn path=/trunk/mcs/; revision=141459
mcs/class/System/System.Text.RegularExpressions/ChangeLog
mcs/class/System/System.Text.RegularExpressions/Regex.cs
mcs/class/System/Test/System.Text.RegularExpressions/RegexTest.cs