Fix out of boundary write on 1x1 terminals
If a terminal is merely 1x1 in size, setsize() will write a nul byte in front of the allocated memory, which is an out of boundary write.
This commit is contained in:
parent
d8fb86dbc5
commit
e6e228e7f4
Loading…
Reference in New Issue
Block a user