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 | 6a77561e31193a2e256cbd4a2a267fe905fa868c (patch) | |
| tree | d56e50972c87518412b212784274726b580bdb3d /test/stringio | |
| parent | c7d65f5b85b2fdab8987f77abe78cb682358e236 (diff) | |
| download | ruby-6a77561e31193a2e256cbd4a2a267fe905fa868c.tar.gz ruby-6a77561e31193a2e256cbd4a2a267fe905fa868c.tar.xz ruby-6a77561e31193a2e256cbd4a2a267fe905fa868c.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/stringio')
0 files changed, 0 insertions, 0 deletions
