aboutsummaryrefslogtreecommitdiff
path: root/alacritty.yml
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2020-11-13 05:22:28 +0300
committerGitHub <noreply@github.com>2020-11-13 02:22:28 +0000
commitb6d94e7b13eb9a14edea843a79c6d86b5b6d8803 (patch)
tree32e5cf2bae6726c84917913327225e551417d477 /alacritty.yml
parent7203f226fc8f4ad4d7bb2bb8e96b9ab50895afe1 (diff)
downloadr-alacritty-b6d94e7b13eb9a14edea843a79c6d86b5b6d8803.tar.gz
r-alacritty-b6d94e7b13eb9a14edea843a79c6d86b5b6d8803.tar.bz2
r-alacritty-b6d94e7b13eb9a14edea843a79c6d86b5b6d8803.zip
Fix use after free when dropping zerowidth data
Commit ec42b42ce601808070462111c0c28edb0e89babb added an optional pointer for each cell, thus some old code that was optimizing copying with 'ptr::copy' was duplicating "unique" pointers ('Box'), which was resulting in use after free, after attempting to free both of these pointers. By replacing these unsafe blocks with safe Rust, the issue itself is fixed and the potential for future memory problems is eliminated from this area of the code.
Diffstat (limited to 'alacritty.yml')
0 files changed, 0 insertions, 0 deletions