General

Profile

ddom (Daniel Dominguez)

  • Login: ddom
  • Registered on: 09/27/2018
  • Last sign in: 09/27/2018

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

09/27/2018

07:17 PM Ruby Bug #15169: rb_funcallv crashes when argc is -1
nobu (Nobuyoshi Nakada) wrote:
> `argc` is the number of arguments, pointed by `argv`.
> ...
No, it's actually a bug in the fuzzer I'm building to pass -1 to that function. But I'm getting that crash when I do that. The actual code is ...
ddom (Daniel Dominguez)
11:39 AM Ruby Bug #15169 (Rejected): rb_funcallv crashes when argc is -1
The native function rb_funcallv casues a segmentation fault on 0xffffffffffffffd8 when the argc parameter is -1.
Example:
~~~ c
VALUE argv[1];
argv[0] = Qnil;
rb_funcallv(INT2NUM(1), rb_intern("round"), -1, argv);
~~~
Atta...
ddom (Daniel Dominguez)

Also available in: Atom