gtk: avoid oob array access
commitc952b71582e2e4be286087ad34de5e3ec1b8d974
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 7 Dec 2016 10:55:11 +0000 (7 13:55 +0300)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 10 Jan 2017 07:14:20 +0000 (10 08:14 +0100)
tree4213da6c48cc26c8b9d686a0dcad427ef1362501
parent6250dff39a358a5f61cbaf085bf8be739a6c73f3
gtk: avoid oob array access

When too many consoles are created, vcs[] may be write out-of-bounds.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20161207105511.25173-1-marcandre.lureau@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/gtk.c