about summary refs log tree commit diff
path: root/posix/regexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/regexec.c')
-rw-r--r--posix/regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/regexec.c b/posix/regexec.c
index 5c80f19f4e..60518f731f 100644
--- a/posix/regexec.c
+++ b/posix/regexec.c
@@ -1945,7 +1945,7 @@ sift_states_bkref (preg, mctx, sctx, str_idx, dest_nodes)
                 continue;
 
               if (check_dst_limits (dfa, &sctx->limits, mctx, node,
-                                    str_idx, dfa->nexts[node], to_idx))
+                                    str_idx, dst_node, to_idx))
                 continue;
               if (sctx->check_subexp == dfa->nodes[node].opr.idx)
                 {