Commit 6458d47
committed
Fix realloc by updating the stored Layout. Previously the old Layout was copied over but not updated to account for the new size, resulting in all kinds of UB and memory corruption
Signed-off-by: Ludvig Liljenberg <[email protected]>1 parent 1181e50 commit 6458d47
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
| 91 | + | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
0 commit comments