« Previous | Next » 

Revision 1526

  • eval.c (rb_f_require): searches ".rb" and ".so" at the same
    time. previous behavior (search ".rb", then ".so") has a
    security risk (ruby-bugs#PR140).

  • array.c (rb_ary_to_ary): new function to replace internal
    rb_Array(), which never calls to_a, but to_ary (rb_Array() might
    call both). [new]

  • regex.c (PUSH_FAILURE_POINT): push option status again.

  • regex.c (re_compile_pattern): avoid pushing unnecessary

  • eval.c (rb_load): tainted string is OK if wrapped and
    $SAFE >= 4.

  • eval.c (rb_thread_start_0): should not nail down higher blocks
    before preserving original context (i.e. should not alter
    original context).

  • eval.c (proc_yield): new method equivalent to Proc#call but no
    check for number of arguments. [new]