Branch: Tag:

2021-07-21

2021-07-21 21:31:30 by Tobias S. Josefowitz <tobij@tobij.de>

sort(): Unset recovery contexts in proper order

Thanks to Joshua Rogers <jrogers@opera.com> for the report.

1211:    use_multiset_index (a->u.multiset, a_pos, ind_a),    use_multiset_index (b->u.multiset, b_pos, ind_b));    -  UNSET_ONERROR(a_uwp); +     UNSET_ONERROR(b_uwp); -  +  UNSET_ONERROR(a_uwp);    }    if (b_pos >= 0) sub_msnode_ref (b->u.multiset);    if (a_pos >= 0) sub_msnode_ref (a->u.multiset);