Project

General

Profile

Actions

Feature #6724

closed

waaaaaaant! (ISeq.load)

Added by zenspider (Ryan Davis) almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Target version:
-
[ruby-core:46339]

Description

GIMME GIMME GIMME! waaaaaant... We don't need a verifier. User responsibility... etc etc.

Can I commit this??? PLEEEEEEASE???

Index: iseq.c

--- iseq.c (revision 36369)
+++ iseq.c (working copy)
@@ -1585,9 +1585,7 @@
rb_define_method(rb_cISeq, "marshal_load", iseq_marshal_load, 1);
#endif

  • /* disable this feature because there is no verifier. */
  • /* rb_define_singleton_method(rb_cISeq, "load", iseq_s_load, -1); */
  • (void)iseq_s_load;
  • rb_define_singleton_method(rb_cISeq, "load", iseq_s_load, -1);

    rb_define_singleton_method(rb_cISeq, "compile", iseq_s_compile, -1);
    rb_define_singleton_method(rb_cISeq, "new", iseq_s_compile, -1);


Files

noname (500 Bytes) noname Anonymous, 07/18/2012 06:29 AM
noname (500 Bytes) noname Anonymous, 07/19/2012 03:53 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0