General

Profile

DavidEGrayson (David Grayson)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

03/24/2018

07:24 AM Ruby Bug #14628 (Closed): Misplaced colon causes segmentation fault
The following program with a misplaced colon causes a segmentation fault when you try to run it in Ruby 2.5.0p0 on both the Manjaro Linux and the MSYS2 platforms:
~~~{ruby}
def a(x)
case x
when A
:
when B, C
end
end...
DavidEGrayson (David Grayson)

12/15/2014

04:56 AM Ruby Bug #10598 (Closed): Cannot make two symbols with same bytes and different encodings
It looks like Ruby 2.1.1 introduced a bug where it is impossible create two different symbols with the same bytes but different encodings. Here is a simple script that reproduces the bug:
```{ruby}
sym1 = "ab".force_encoding("UTF-16...
DavidEGrayson (David Grayson)

10/07/2014

03:20 AM Ruby Feature #8887: min(n), max(n), min_by(n), max_by(n)
Hello. I think the Ruby team should reconsider the ordering of the array returned by `max` and `max_by` when the `n` argument is provided. It makes much more sense to me that it would be sorted in descending order, meaning that the mos... DavidEGrayson (David Grayson)

03/26/2014

05:54 AM Ruby Bug #9677 (Third Party's Issue): OpenSSL::PKey::EC#to_text causes a segmentation fault
I have Ruby 2.1.1p76 and when I try to run a particular snippet of code using the OpenSSL extension, I get a segmentation fault. I am running Arch Linux and I have openssl 1.0.1.f-1. I built Ruby from source. This bug also affects Rub... DavidEGrayson (David Grayson)

Also available in: Atom