aerc/widgets
Koni Marti 7f34cab5e5 terminal: fix nil pointer dereference in pty.Getsize
pty.Getsize() is used in the Draw function of the terminal widget and wraps the
pty.GetsizeFull() function. However, pty.Getsize does not check the returned
error from pty.GetsizeFull before dereferencing the winsize struct. In case of
an error, this will cause a nil pointer deference and panic.

This has been reported in the upstream package, but in the meantime, we can
directly use pty.GetsizeFull.

References: https://todo.sr.ht/~rjarry/aerc/11
Signed-off-by: Koni Marti <koni.marti@gmail.com>
2022-01-19 22:16:36 +01:00
..
account-wizard.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
account.go imap: auto-reconnects on connection error 2022-01-19 17:40:52 +01:00
aerc.go completions: add support for completing multiple addresses 2022-01-07 13:54:10 +01:00
common.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
compose.go pgp: PGP/MIME encryption for outgoing emails 2022-01-07 13:45:34 +01:00
dirlist.go notmuch: allow sort by file order 2021-11-13 15:25:04 +01:00
exline.go completions: add support for completing multiple addresses 2022-01-07 13:54:10 +01:00
getpasswd.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
headerlayout.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
msglist.go messages: allow displaying email threads 2021-11-13 15:05:59 +01:00
msgviewer.go style: customize vertical and horizontal border characters 2021-11-30 15:05:33 +01:00
pgpinfo.go pgp: update openpgp packages (go-crypto and go-pgpmail) 2022-01-07 13:45:34 +01:00
providesmessage.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
selector.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
spinner.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
status.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
tabhost.go Implement style configuration. 2020-08-06 21:42:06 +02:00
terminal.go terminal: fix nil pointer dereference in pty.Getsize 2022-01-19 22:16:36 +01:00