ruby-cvs:16387
From: (ocean) <ocean ruby-lang.org>
Date: Thu, 2 Feb 2006 23:59:07 +0900
Subject: [ruby-cvs:16387] ruby, ruby/ext/syck: * ext/syck/emitter.c (syck_emitter_write): should not set '\0' on
ocean Thu, 2 Feb 2006 23:59:07 +0900
Modified files: (Branch: ruby_1_8)
ruby:
ChangeLog
ruby/ext/syck:
emitter.c
Log:
* ext/syck/emitter.c (syck_emitter_write): should not set '\0' on
emitter's marker. if marker points to the end of buffer, this causes
buffer overrun. (ex: YAML.dump("." * 12288))
Revision Changes Path
1.2673.2.1494 +6 -0 ruby/ChangeLog
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.2673.2.1493&r2=1.2673.2.1494
1.9.2.9 +2 -3 ruby/ext/syck/emitter.c
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/syck/emitter.c?cvsroot=src&r1=1.9.2.8&r2=1.9.2.9