summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-06 01:31:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-06 01:31:53 +0000
commitb4f61ad610536eb8102c31b882dda44967ecd5a9 (patch)
tree2979c68c4428ddebfabc8c5cf656bfe35945ae6e /vm_core.h
parente27a538eab6a186be4d92147fd51d23eb4503abd (diff)
vm_core.h: fix symbols leak
* vm_core.h (rb_call_info_kw_arg_struct): make keywords a symbols list to get rid of inadvertent creation by variable keyword arguments. [ruby-core:68031] [Bug #10831] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index b014383339..8fd8ef4c72 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -137,7 +137,7 @@ struct rb_control_frame_struct;
typedef struct rb_call_info_kw_arg_struct {
int keyword_len;
- ID keywords[1];
+ VALUE keywords[1];
} rb_call_info_kw_arg_t;
/* rb_call_info_t contains calling information including inline cache */