Commit 51d99b8
committed
[buffer] Fix buffer size enlargement (harfruzz PR #62)
We were wrongly, comparing with self.len, not the self.info.len
which is the current length of the info/pos arrays. This was
resulting in inadverently shrinking the buffer sometimes, causing
out-of-bounds access and crash, for example in text-rendering-tests
MORX-31 test.1 parent 445ae9e commit 51d99b8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1240 | 1240 | | |
1241 | 1241 | | |
1242 | 1242 | | |
1243 | | - | |
| 1243 | + | |
1244 | 1244 | | |
1245 | 1245 | | |
1246 | 1246 | | |
| |||
0 commit comments