diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-08 07:56:45 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-08 07:56:45 +0000 |
commit | 8c788b8a430ae3b683dec7246ec13fffd47dbe36 (patch) | |
tree | 3ea91ecdd1ddf6110ebbaca10d51375f43f0809c /regex.c | |
parent | bbffb26a9d93aaf252cdf218595bd5000ad3d985 (diff) |
merge revision(s) 27720:
* regex.c (read_special): get rid of overrun.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regex.c')
-rw-r--r-- | regex.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1203,7 +1203,8 @@ read_special(p, pend, pp) else if (c == -1) return ~0; return c & 0x9f; default: - *pp = p + 1; + PATFETCH_RAW(c); + *pp = p; return read_backslash(c); } |