git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-09-18 09:42:28 +00:00
Родитель 1cd6bce939
Коммит 24733414ed
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -1520,7 +1520,8 @@ Thu Sep 4 19:10:27 2008 Tanaka Akira <akr@fsij.org>
* include/ruby/encoding.h (ECONV_INVALID_IGNORE): removed because
it tend to cause security problem. If the behaviour is really
required, ECONV_INVALID_REPLACE with empty string can be used.
For example, CVE-2006-2313, CVE-2008-1036, [ruby-core:15645]
For example, CVE-2006-2313, CVE-2008-1036, [ruby-core:15645],
http://unicode.org/reports/tr36/
(ECONV_UNDEF_IGNORE): ditto.
* transcode.c (rb_econv_convert): follow the above change.