Project

General

Profile

« Previous | Next » 

Revision 7071

  • io.c (read_all): block string buffer modification during
    rb_io_fread() by freezing it temporarily.

  • dir.c (rb_push_glob): block call at once the end of method.

  • ext/enumerator/enumerator.c (enum_each_slice): remove
    rb_gc_force_recycle() to prevent potential SEGV.

  • ext/zlib/zlib.c (zstream_expand_buffer): hide internal string
    buffer by clearing klass.

  • ext/socket/socket.c (sock_s_getservbyaname): protocol string
    might be altered.

  • string.c (rb_str_upto): check if return value from succ is a
    string.

  • io.c (rb_io_popen): get mode string via rb_io_flags_mode() to
    avoid mode string modification.

  • io.c (rb_io_getline_fast): should take delim as unsigned char to
    distinguish EOF and '\377'.

  • io.c (rb_io_getline): add check for RS modification.

  • enum.c (enum_sort_by): use qsort() directly instead using
    rb_iterate().

  • enum.c (enum_each_with_index): remove rb_gc_force_recycle() to
    prevent access to recycled object (via continuation for
    example).