[前][次][番号順一覧][スレッド一覧]

ruby-changes:27329

From: usa <ko1@a...>
Date: Fri, 22 Feb 2013 14:50:30 +0900 (JST)
Subject: [ruby-changes:27329] usa:r39381 (ruby_1_9_3): * vm.c (vm_exec): get rid of a SEGV when calling rb_iter_break() from

usa	2013-02-22 14:50:21 +0900 (Fri, 22 Feb 2013)

  New Revision: 39381

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39381

  Log:
    * vm.c (vm_exec): get rid of a SEGV when calling rb_iter_break() from
      some extention libraries.  [Backport #7896] [ruby-core:52607]

  Modified files:
    branches/ruby_1_9_3/ChangeLog
    branches/ruby_1_9_3/version.h
    branches/ruby_1_9_3/vm.c

Index: ruby_1_9_3/ChangeLog
===================================================================
--- ruby_1_9_3/ChangeLog	(revision 39380)
+++ ruby_1_9_3/ChangeLog	(revision 39381)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/ChangeLog#L1
+Fri Feb 22 14:48:15 2013  NARUSE, Yui  <naruse@r...>
+
+	* vm.c (vm_exec): get rid of a SEGV when calling rb_iter_break() from
+	  some extention libraries. [Backport #7896] [ruby-core:52607]
+
 Fri Feb 22 14:40:57 2013  Narihiro Nakamura  <authornari@g...>
 
 	* gc.c : remove a unused function.
Index: ruby_1_9_3/vm.c
===================================================================
--- ruby_1_9_3/vm.c	(revision 39380)
+++ ruby_1_9_3/vm.c	(revision 39381)
@@ -1370,6 +1370,7 @@ vm_exec(rb_thread_t *th) https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/vm.c#L1370
 			    *th->cfp->sp++ = (GET_THROWOBJ_VAL(err));
 #endif
 			}
+			th->state = 0;
 			th->errinfo = Qnil;
 			goto vm_loop_start;
 		    }
Index: ruby_1_9_3/version.h
===================================================================
--- ruby_1_9_3/version.h	(revision 39380)
+++ ruby_1_9_3/version.h	(revision 39381)
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/version.h#L1
 #define RUBY_VERSION "1.9.3"
-#define RUBY_PATCHLEVEL 390
+#define RUBY_PATCHLEVEL 391
 
 #define RUBY_RELEASE_DATE "2013-02-22"
 #define RUBY_RELEASE_YEAR 2013

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]