1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-11 13:51:01 -05:00
alacritty/alacritty_terminal
Kirill Chibisov b6d94e7b13
Fix use after free when dropping zerowidth data
Commit ec42b42ce6 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.
2020-11-13 02:22:28 +00:00
..
src Fix use after free when dropping zerowidth data 2020-11-13 02:22:28 +00:00
tests Use dynamic storage for zerowidth characters 2020-11-05 04:45:14 +00:00
Cargo.toml Deprecate the WinPTY backend 2020-11-06 17:33:02 +00:00
LICENSE-APACHE Add license symlinks for crates 2020-10-17 14:47:51 +00:00