summaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-10 14:53:26 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-10 14:53:26 +0000
commit513a7a751d5b04608e57f9d4dcd83cda69dc3e94 (patch)
treefab1038d62c1dd6a6eeedb7a8e6a68c1b0a4ae1c /tool
parent9e4989a006301a6738f8247238a583706c20ffc2 (diff)
downloadruby-513a7a751d5b04608e57f9d4dcd83cda69dc3e94.tar.gz
ruby-513a7a751d5b04608e57f9d4dcd83cda69dc3e94.tar.xz
ruby-513a7a751d5b04608e57f9d4dcd83cda69dc3e94.zip
* 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
Diffstat (limited to 'tool')
0 files changed, 0 insertions, 0 deletions