Fix #110632: temp context doesn't always restore original area or region at exit. #110787

Closed
Bastien Montagne wants to merge 1 commits from mont29:F-110632 into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

1 Commits

Author SHA1 Message Date
Bastien Montagne a78e40bd3b Fix #110632: temp context doesn't always restore original area or region at exit.
Why exactly not explicitely restoring the context with `cxt_init`
values leaves relevant values to null is unclear to me? But this patch
seems to fix it, by considering that if a temp context value is set,
then it needs to be restored from the init value at the end, even if
both init and temp values are the same.
2023-08-04 10:52:07 +02:00