aboutsummaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/date/date_strptime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/date/date_strptime.c b/ext/date/date_strptime.c
index 27f0893efc..548e6a656d 100644
--- a/ext/date/date_strptime.c
+++ b/ext/date/date_strptime.c
@@ -576,6 +576,7 @@ date__strptime_internal(const char *str, size_t slen,
}
b = rb_backref_get();
+ rb_match_busy(b);
m = f_match(pat, rb_usascii_str_new2(&str[si]));
if (!NIL_P(m)) {