grid: reload pointers into the uri range vector after inserting

Inserting elements into the URI range vector typically triggers a
vector resize. This is done using realloc(). Sometimes this causes the
vector to move, thus invalidating all existing pointers into the
vector.
This commit is contained in:
Daniel Eklöf 2021-12-08 17:41:29 +01:00
parent de0898821e
commit 2e8c9c2fe5
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 41 additions and 2 deletions

View file

@ -55,6 +55,7 @@
* Crash when bitmap fonts are scaled down to very small font sizes
(https://codeberg.org/dnkl/foot/issues/830).
* Crash when overwriting/erasing an OSC-8 URL.
### Security