diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-10 14:53:26 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-10 14:53:26 +0000 |
| commit | 098a5639355b11697159ab916f67b53b43088a8b (patch) | |
| tree | fab1038d62c1dd6a6eeedb7a8e6a68c1b0a4ae1c /test/ruby/test_whileuntil.rb | |
| parent | c585a9eba193379ca18f7e80f30af2a7552e97c1 (diff) | |
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@13872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_whileuntil.rb')
0 files changed, 0 insertions, 0 deletions
