--- /wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php	2010-12-14 14:51:13.000000000 -0500
+++ /wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php	2011-10-14 14:47:20.000000000 -0500
@@ -329,7 +329,7 @@
 	}
 
 	function read($len = 1) {
-		if ($this->_pos < $this->_len) {
+		if ($this->_pos < ($this->_len - 1)) {
 			if ($len > 1) {
 				$str = substr($this->_data, $this->_pos + 1, $len);
 				$this->_pos += $len;
@@ -347,7 +347,7 @@
 	}
 
 	function peek() {
-		if ($this->_pos < $this->_len)
+		if ($this->_pos < ($this->_len - 1))
 			return $this->_data[$this->_pos + 1];
 
 		return null;
