summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-11-14 18:54:13 -0800
committerJeremy Evans <code@jeremyevans.net>2019-11-18 01:00:25 +0200
commitab42e5a486a5b27107296fa34056f03ac878e306 (patch)
treebead27022495820d026620df9a63c3969946b805 /compile.c
parentffd0820ab317542f8780aac475da590a4bdbc7a8 (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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/compile.c b/compile.c
index f439abb947..7de6068a7d 100644
--- a/compile.c
+++ b/compile.c
@@ -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");
}