aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2021-03-20 15:54:03 +0900
committernagachika <nagachika@ruby-lang.org>2021-03-20 15:54:03 +0900
commit755a349a3a66f5731995296fe3bb7d2b1712167f (patch)
treea321b8f26fc2652047d558c4957ee280fbf6db68
parent82bce422ba9e131e62b528854dea69a6e8cc0c04 (diff)
downloadruby-755a349a3a66f5731995296fe3bb7d2b1712167f.tar.gz
merge revision(s) 4bff8e84232594ecb9914e2a8437b7c40a63b799: [Backport #16814]
Ensure that the head of the vacancy list is correctly inserted into the linked list. See <https://bugs.ruby-lang.org/issues/16814> for more details. --- cont.c | 1 + 1 file changed, 1 insertion(+)
-rw-r--r--cont.c1
-rw-r--r--version.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/cont.c b/cont.c
index 0c49d34742..7f971a9e9d 100644
--- a/cont.c
+++ b/cont.c
@@ -324,6 +324,7 @@ fiber_pool_vacancy_push(struct fiber_pool_vacancy * vacancy, struct fiber_pool_v
#ifdef FIBER_POOL_ALLOCATION_FREE
if (head) {
head->previous = vacancy;
+ vacancy->previous = NULL;
}
#endif
diff --git a/version.h b/version.h
index c10798ff99..9e8f82a10e 100644
--- a/version.h
+++ b/version.h
@@ -2,7 +2,7 @@
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
#define RUBY_VERSION_TEENY 3
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
-#define RUBY_PATCHLEVEL 173
+#define RUBY_PATCHLEVEL 174
#define RUBY_RELEASE_YEAR 2021
#define RUBY_RELEASE_MONTH 3