Commit Graph

2 Commits

Author SHA1 Message Date
Pieter Noordhuis 5a9847b03d
Update test 2024-09-04 16:45:47 +02:00
Pieter Noordhuis 414c9fba1f
Pass copy of `dyn.Path` to callback function
Some call sites hold on to the `dyn.Path` provided to them by the callback.
It must therefore never be mutated after the callback returns, or these
mutations leak out into unknown scope.

This change means it is no longer possible for this failure mode to happen.
2024-09-04 15:06:51 +02:00