ruby-cvs:16388
From: (ocean) <ocean ruby-lang.org>
Date: Fri, 3 Feb 2006 00:02:51 +0900
Subject: [ruby-cvs:16388] ruby, ruby/ext/syck: * ext/syck/emitter.c (syck_emitter_write): should not set '\0' on
ocean Fri, 3 Feb 2006 00:02:51 +0900
Modified files:
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 is
buffer overrun. (ex: YAML.dump("." * 12288))
Revision Changes Path
1.4924 +6 -0 ruby/ChangeLog
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.4923&r2=1.4924
1.16 +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.15&r2=1.16