Browse Source
The routehints paymod shares the storage of the array d->routehints and p->invoice->routes, but once it operates, it possibly leaves it as a stale pointer to memory it used to have. Since other paymods may be interested in the invoice details, including the routehints in the invoice, we should ensure the p->invoice->routes remains valid whenever we try mutating that array.bump-pyln-proto
committed by
Rusty Russell
1 changed files with 35 additions and 1 deletions
Loading…
Reference in new issue