ruby-cvs:22932
From: duerst ruby-lang.org
Date: Wed, 5 Mar 2008 17:45:53 +0900 (JST)
Subject: [ruby-cvs:22932] Ruby:r15692 (trunk): Web Mar 5 17:43:43 2008 Martin Duerst <duerst it.aoyama.ac.jp>
duerst 2008-03-05 17:45:51 +0900 (Wed, 05 Mar 2008)
New Revision: 15692
Modified files:
trunk/ChangeLog
trunk/test/ruby/test_transcode.rb
trunk/transcode.c
Log:
Web Mar 5 17:43:43 2008 Martin Duerst <duerst it.aoyama.ac.jp>
* transcode.c (transcode_loop): Adjusted detection of invalid
(ill-formed) UTF-8 sequences. Fixing potential security issue, see
http://www.unicode.org/versions/Unicode5.1.0/#Notable_Changes.
* test/ruby/test_transcode.rb: Added two tests for above fix.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_transcode.rb?r1=15692&r2=15691&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15692&r2=15691&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/transcode.c?r1=15692&r2=15691&diff_format=u