diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-11-14 18:54:13 -0800 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-11-18 01:00:25 +0200 |
commit | ab42e5a486a5b27107296fa34056f03ac878e306 (patch) | |
tree | bead27022495820d026620df9a63c3969946b805 /compile.c | |
parent | ffd0820ab317542f8780aac475da590a4bdbc7a8 (diff) |
More fixes for $SAFE/taint post merging
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2476
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -11469,8 +11469,6 @@ ibf_load_setup_bytes(struct ibf_load *load, VALUE loader_obj, const char *bytes, static void ibf_load_setup(struct ibf_load *load, VALUE loader_obj, VALUE str) { - rb_check_safe_obj(str); - if (RSTRING_LENINT(str) < (int)sizeof(struct ibf_header)) { rb_raise(rb_eRuntimeError, "broken binary format"); } |