diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | compile.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Tue Apr 12 11:51:18 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * compile.c (new_label_body): initialize bit fields, since + compile_data_alloc does not clear the memory. [Bug #12082] + Mon Apr 11 20:18:43 2016 Koichi Sasada <ko1@atdot.net> * vm_backtrace.c (frame2klass): filter only for imemo_ment. @@ -998,6 +998,8 @@ new_label_body(rb_iseq_t *iseq, long line) labelobj->sc_state = 0; labelobj->sp = -1; labelobj->refcnt = 0; + labelobj->set = 0; + labelobj->rescued = LABEL_RESCUE_NONE; return labelobj; } |