From 513a7a751d5b04608e57f9d4dcd83cda69dc3e94 Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 10 Nov 2007 14:53:26 +0000 Subject: * string.c (tr_trans): cast to unsigned char after dereference a pointer to a char to avoid SEGV with "\377".tr("a", "b"). on FreeBSD/amd64. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 1543907c3..563199b1a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sat Nov 10 23:50:31 2007 Tanaka Akira + + * string.c (tr_trans): cast to unsigned char after dereference + a pointer to a char to avoid SEGV with "\377".tr("a", "b"). + on FreeBSD/amd64. + Sat Nov 10 23:08:53 2007 Tanaka Akira * configure.in, common.mk, Makefile.in: don't generate -- cgit