diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-02-03 06:11:13 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-02-03 06:11:13 +0000 |
commit | e4f1feac3e807e2e3790237749cfdb7a6104fd90 (patch) | |
tree | 2e0e4b9124c59caf66dfd08cb766682d8a9bdb78 /ext/gdbm | |
parent | 69e975903783b20ddcf881dcc3e2aa45197a3f85 (diff) | |
download | ruby-e4f1feac3e807e2e3790237749cfdb7a6104fd90.tar.gz |
* ext/syck/syck.c (syck_move_tokens): should reset p->cursor or etc
even if skip == 0. This causes buffer overrun.
(ex: YAML.load('--- "..' + '\x82\xA0' * 511 + '"'))
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/gdbm')
0 files changed, 0 insertions, 0 deletions